I can’t generate the models / controllers / services in any way, I run this command mvn clean install but it generates the files in target/generate-sources,I have used json but also yaml, How can I make this generate it for me in src/main? Here is my pom.xml , project – https://github.com/FreeTrai…
Tag: swagger-codegen
Swagger codegen generates duplicated variables
I’m trying to generate client from yaml that contains That means, accept and contentType will be present in generated method signature. On top of that, I’v configured plugin like this Still, after mvn clean install I’m getting Error:(130,31) java: variable accept is already defined in method…
Swagger Codegen basePath is being ignored
I’m trying to generate some web services definitions using Swagger Codegen » 2.2.1 All configs are working and the classes are generate correctly by my .yaml definitions. Why the property basePath is being ignored? My @RestController generate using only paths definition: Expected (using basePath and pat…