Add generated client with necessary sanitizations#3
Merged
Nuvindu merged 13 commits intoballerina-platform:mainfrom Feb 18, 2025
Merged
Add generated client with necessary sanitizations#3Nuvindu merged 13 commits intoballerina-platform:mainfrom
Nuvindu merged 13 commits intoballerina-platform:mainfrom
Conversation
URL paths were duplicated and long. Add common path to server URL and remove duplications. Makes the paths easier to read and maintain. Add examples for parameters in the REST methods to show the correct format of the parameter values. Helps to avoid validation errors.
Nuvindu
reviewed
Feb 14, 2025
Nuvindu
reviewed
Feb 14, 2025
Nuvindu
reviewed
Feb 14, 2025
Nuvindu
reviewed
Feb 14, 2025
Nuvindu
reviewed
Feb 14, 2025
Nuvindu
reviewed
Feb 14, 2025
Nuvindu
reviewed
Feb 14, 2025
Nuvindu
reviewed
Feb 14, 2025
Fix formatting issues for sanitations.md
Nuvindu
reviewed
Feb 17, 2025
Co-authored-by: Nuvindu Nirmana <63797478+Nuvindu@users.noreply.github.com>
Nuvindu
reviewed
Feb 17, 2025
Created and Updated date format fix Co-authored-by: Nuvindu Nirmana <63797478+Nuvindu@users.noreply.github.com>
Nuvindu
previously approved these changes
Feb 17, 2025
Update docs/spec/openapi.json file to add nullable to the fields that are optional in the API response. This ensures no json parsing errors when the optional fields are not present in the response. Update docs/spec/sanitations.md file to reflect the changes done on docs/spec/openapi.json file.
Add descrition to the field hapikey in the openapi.json. This makes it easier for the developers to understand the purpose of the field. Add necessary changes in the sanitations.md to reflect the changes in the openapi.json.
Generate client, types, and utils with updated sanitations to improve documentation and better error handling.
Updated client
Nuvindu
approved these changes
Feb 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
To generate ballerina client code from OpenAPI specifications with necessary sanitations
Examples
Checklist