OpenAPITools / OpenAPITools/openapi-generator
Go server allOff does not work after 5.2.0
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Description
Go go server allOff (https://swagger.io/docs/specification/data-models/oneof-anyof-allof-not/) does not work after upgrade
Is there any reason for it... will it be included in new versions?
openapi-generator version
6.0.0 and 5.4.0. In 5.2.0 it works
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the generated Go server output for an allOf schema between openapi-generator 5.2.0, 5.4.0, and 6.0.0, using the allOf specification linked in the issue. The issue names no fixture, generated output, source file, or test, so identify a minimal reproduction before determining what behavior should be restored.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, openapi
- Domain
- api, backend, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100