swagger-api / swagger-api/swagger-codegen
main class io.swagger.codegen.SwaggerCodegen not found in v2.4.10
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
I am trying to upgrade the dependency that we use for generating the template scala client. But it failed with Could not find or load main class io.swagger.codegen.SwaggerCodegen (PR ref, https://github.com/meetup/meetup-scala-generator/pull/73)
However, it does work with v2.4.9 though (https://github.com/meetup/meetup-scala-generator/pull/75)
Swagger-codegen version
Not working for v2.4.10, but it works with v2.4.9
Swagger declaration file content or url
Command line used for generation
Steps to reproduce
Related issues/PRs
Suggest a fix/enhancement
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 at the io.swagger.codegen.SwaggerCodegen main entry point and compare how v2.4.9 and v2.4.10 are packaged or invoked. Reproduce the Scala client generation from the referenced meetup/meetup-scala-generator PRs; done means the v2.4.10 command starts successfully without the main-class error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, scala
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100