Forum Discussion

NamitaDas's avatar
NamitaDas
Occasional Visitor
9 years ago

Error generating server stub using swagger codegen for JAVA spring boot framework

JAVA spring boot framework is currently not an available language option for swagger-codegen-cli.jar  generate command. Is there any possibility to customise  codegen to be able to generate server side stub for JAVA Spring Boot framework.

 

I am currently trying to use following command to generate server stub which is not working:

 

java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate \

-i http://petstore.swagger.io/v2/swagger.json \

-l spring \

-o samples/sever/petstore/springboot

 

 

No RepliesBe the first to reply