Skip to content

feat(problem+json): Add support for application/problem+json#1433

Merged
ernado merged 5 commits intoogen-go:mainfrom
AndreasBergmeier6176:problemjson
Sep 18, 2025
Merged

feat(problem+json): Add support for application/problem+json#1433
ernado merged 5 commits intoogen-go:mainfrom
AndreasBergmeier6176:problemjson

Conversation

@AndreasBergmeier6176
Copy link
Contributor

Although rfc9457 is still in proposed status, support was already added in Java Spring environment and thus it is live in the wild.

To support this while also not yet adding a huge new mechanism just warn that MUST declarations are currently not enforced by ogen.

To test this sprinkle problem+json into various test files.

@AndreasBergmeier6176 AndreasBergmeier6176 changed the title Add support for application/problem+json. feat(problem+json): Add support for application/problem+json Mar 27, 2025
@ernado
Copy link
Member

ernado commented Apr 20, 2025

Please don't modify existing examples, they are not hand-written, but (mostly) copied from external locations.

Although rfc9457 is still in proposed status, support was already
added in Java Spring environment and thus it is live in the wild.

To support this while also not yet adding a huge new mechanism just
warn that MUST declarations are currently not enforced by ogen.

To test this sprinkle problem+json into various test files.
@ernado ernado merged commit bced9ff into ogen-go:main Sep 18, 2025
12 of 13 checks passed
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.

2 participants