You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3857,6 +3857,8 @@ No, we don't currently.
3857
3857
3858
3858
OpenAPI 3.1 support is [awaiting upstream support](https://github.com/oapi-codegen/oapi-codegen/issues/373).
3859
3859
3860
+
In the meantime, you could follow [steps from this blog post](https://www.jvt.me/posts/2025/05/04/oapi-codegen-trick-openapi-3-1/) to [use OpenAPI Overlay](#modifying-the-input-openapi-specification-with-openapi-overlay) to "downgrade" the OpenAPI 3.1 spec to OpenAPI 3.0.
3861
+
3860
3862
### How does `oapi-codegen` handle `anyOf`, `allOf` and `oneOf`?
3861
3863
3862
3864
`oapi-codegen` supports `anyOf`, `allOf` and `oneOf` for generated code.
0 commit comments