swagger-api / swagger-api/swagger-codegen
Customize the code gen for Java-Spring and CXF
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
First of all, apologize if I am asking the question in right forum. I want to extend swagger code gen to develop customize code generation for Java Spring, CXF. How do I do this? I have installed the swagger code gen git project. It is such a huge project. I am not able to run the project locally. Do you have simple standalone java class which i can run to generate server code from a swagger using the existing template? I don't need CLI, client generation, etc. Current swagger code gen has multiple modules. I think i only need swagger-codegen. But I cant run swagger-codegen module standaone. I tried to run io.swagger.codegen.Codegen, but it is getting error. I dont know where to start. Please help!!
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 with the swagger-codegen module and the io.swagger.codegen.Codegen entry point mentioned in the issue. Reproduce the reported error and trace how the existing Java Spring and CXF templates are invoked. Done should be a documented, runnable standalone path for server generation without requiring the CLI or client-generation modules.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100