Skip to content

OpenAPI 3.1 Spec type array nullable only support#1619

Open
adrianlungu wants to merge 2 commits intoogen-go:mainfrom
adrianlungu:feat/openapi-3-1-multi-type-support
Open

OpenAPI 3.1 Spec type array nullable only support#1619
adrianlungu wants to merge 2 commits intoogen-go:mainfrom
adrianlungu:feat/openapi-3-1-multi-type-support

Conversation

@adrianlungu
Copy link
Copy Markdown

Added support for the OpenAPI 3.1 Spec type array where nullability is no longer defined as a separate param, but instead, as a type within the type array.

This only adds bare support for it so it unlocks using the 3.1 nullability, but it does not yet treat additional cases where multiple different types are given within the array; it, instead, defaults to the first one.

@adrianlungu
Copy link
Copy Markdown
Author

Should help with #1617

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