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
{{ message }}
Repository navigation
allow coexistence of anyOf and oneOf fields in single schema definition #839
allow coexistence of anyOf and oneOf fields in single schema definition
If some schema has anyOf, oneOf field, generating code get failed. (A while ago (before of commit:5a1784a), generating get success, but generated code didn't work)
Its reason is that created internal type name for additional type related to anyOf or oneOf.
I want to fix it, but have no idea how to escape the name conflict, using Any and One suffixes for them?
example
We can reproduce it executing go run github.com/deepmap/oapi-codegen/cmd/oapi-codegen --config=config.yaml spec.yaml with following files.
Activity
feat(v3): a oneOf or anyOf that only adds constraints makes no union (#…
fix: allOf/anyOf/oneOf generation bugs, with an aggregate test matrix (…