swagger-api / swagger-api/swagger-codegen
How to generate JsonExtensionData attributed Property for additional properties
Open
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
How can I generate a AdditionalProperties property with JsonExtensionData attribute with swagger-codegen?
Is there a way this can be achieved?
Swagger-codegen version
2.2.3
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
The issue names no source files, templates, tests, or entry points. First clarify the target generated language and the desired JsonExtensionData behavior, then locate the corresponding model template and add a test defining the expected AdditionalProperties output; done means the generator produces that property and attribute consistently.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100