swagger-api / swagger-api/swagger-codegen

Customize the code gen for Java-Spring and CXF

Open
#6,321 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

General: Question
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.