-
Notifications
You must be signed in to change notification settings - Fork 6k
Open
Description
Description
I'm using swagger-codegen-gradle-plugin and swagger-codegen-cli:3.0.18 to generate a Java client for my project. I understand it is mentioned in the swagger readme to use mvn install to build the generated client but I don't want my users to have to separately install maven just for using the generated API client.
That is why I require a maven wrapper in the generated code so that the users can simply use ./mvnw install to build the generated code and not install maven separately. This also solves the problem of version conflicts with already installed maven for some users.
Swagger-codegen version
- io.swagger.codegen.v3:swagger-codegen-cli:3.0.18
- gradle.plugin.org.hidetake:gradle-swagger-generator-plugin:2.18.2
- io.swagger.core.v3:swagger-gradle-plugin:2.1.4
Related issues/PRs
This PR Adds a maven wrapper to the swagger-codegen project but not to the generated code.
Metadata
Metadata
Assignees
Labels
No labels