swagger-api / swagger-api/swagger-codegen
Codegen maven plugin cannot generate "meta" generator
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
Codegen maven plugin does not expose "meta" command line execution mode.
Swagger-codegen version
3.0.30
Swagger declaration file content or url
Irrelevant
Command line used for generation
Irrelevant
Steps to reproduce
Use the following plugin configuration
<plugin>
<groupId>io.swagger.codegen.v3</groupId>
<artifactId>swagger-codegen-maven-plugin</artifactId>
<version>3.0.30</version>
<configuration>
<language>meta</language>
<inputSpec></inputSpec>
</configuration>
</plugin>
and run generate goal.
Related issues/PRs
Irrelevant
Suggest a fix/enhancement
Make sure that the maven plugin is just an integration point, much like the cli jar is rather than implement logic in them.
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 Maven plugin's generate goal and the command-line execution mode it exposes. Trace how the language value is passed when it is set to meta; done means the plugin can run the meta generator with the shown configuration and its behavior is covered by the project's relevant checks.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100