Forum Discussion

devJava's avatar
devJava
New Contributor
4 years ago

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"
],

 

    • devJava's avatar
      devJava
      New Contributor

      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