swagger-api / swagger-api/swagger-codegen
[Question] generating code for vendor extensions
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
I'm looking into using some vendor extension to improve the API backward compatibility. The idea behind is that make it part of the API specification as a vendor extension.
To implement this i would like to plug in the vendor extension based generation part as part of the swagger code generator. Is there a extension point in the code generators that we can do this without forking each code generator to add the support i need ?
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 does not name a source file, generator entry point, or test to inspect. First determine whether the code generators expose an extension point for vendor extensions, then document the supported approach or the design needed to avoid forking each generator.
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
- 15/100