Skip to content

OpenAPI 3.1 - nullable support via null field in type#1708

Merged
ernado merged 3 commits into
ogen-go:mainfrom
paragon:openapi31-nullability
Jul 10, 2026
Merged

OpenAPI 3.1 - nullable support via null field in type#1708
ernado merged 3 commits into
ogen-go:mainfrom
paragon:openapi31-nullability

Conversation

@paragon

@paragon paragon commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

OpenAPI 3.1 removes the nullable keyword, instead favoring specifying null under a field's type.

This PR supports this functionality. Fixed #1617

@ernado
ernado merged commit be92dad into ogen-go:main Jul 10, 2026
15 checks passed
@zguydev

zguydev commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

@ernado

Since this PR was accepted, I think it's good to close the stale PR with the same functionality: #1619

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.

Support OpenAPI 3.1 nullable representation using type array

3 participants