Ask a Question

swagger-codegen : Problem of add "default" to generated Path => @Path("/default)

devJava
New Contributor

swagger-codegen : Problem of add "default" to generated Path => @Path("/default)

Problem :

in api.json :
"paths": {
"/": {

In generated source :
@Path("/default")

 

Wanted :

in api.json :
"paths": {
"/": {

In generated source :
@Path("/")


language : lang-jersey

 

Swagger-codegen version

swagger-codegen-maven-plugin-2.2.1

 

Swagger declaration :

"paths": {
"/": {
"get": {
"tags": [
"customer"
],

 

2 REPLIES 2
nmrao
Community Hero

Re: swagger-codegen : Problem of add "default" to generated Path => @Path("/defaul

Are you generating from command line ? or http://editor.swagger.io?


Regards,
Rao.
devJava
New Contributor

Re: swagger-codegen : Problem of add "default" to generated Path => @Path("/defaul

i generate using maven goal, using the plugin swagger-codegen, and langage: lang-jersey

it generate the source code with all wanted info, just problem of adding "default" to @ Path

cancel
Showing results for 
Search instead for 
Did you mean: