swagger-api / swagger-play

Apache License 2.0
330 stars 181 forks source link

API Path is changed when setting swagger.api.basepath #164

Closed ram-ds closed 6 years ago

ram-ds commented 6 years ago

Wondering if anyone know more on this issue we are seeing below,

when setting swagger.api.basepath="/data/" and looking at the generated swagger.json it changed the api path which should be /api/v1/metadata/{id}

The generated would look like /api/v1/meta{id} Looking at the behavior, it is replacing the basepath value in the api path

Here is the version information we are using "io.swagger" %% "swagger-play2" % "1.6.0", "org.webjars" %% "webjars-play" % "2.6.3", "org.webjars" % "bootstrap" % "3.1.1-2", "org.webjars" % "swagger-ui" % "3.9.2",

ram-ds commented 6 years ago

Here is the PR - https://github.com/swagger-api/swagger-play/pull/165 related to this issue

ram-ds commented 6 years ago

Resolved, change was merged to master branch.