Skip to content

OAS2 generation fixes#77

Open
antaln wants to merge 2 commits into
vmware:masterfrom
antaln:oas2-fixes
Open

OAS2 generation fixes#77
antaln wants to merge 2 commits into
vmware:masterfrom
antaln:oas2-fixes

Conversation

@antaln

@antaln antaln commented Feb 3, 2025

Copy link
Copy Markdown

Tested OAS2 validation via go-openapi.

Per OAS2, `basePath` should either be omitted or set to `/`.
Since all generated paths are absolute, this commits sets it to `/`.

Signed-off-by: Antal Nemes (antal.nemes@gmail.com)
Required `formData` parameters set `required` to string value instead
of boolean. This caused OAS2 validation to fail.

This commit fixes the type of the required formData parameters.

Signed-off-by: Antal Nemes (antal.nemes@gmail.com)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant