-
Notifications
You must be signed in to change notification settings - Fork 379
Closed
Description
Swagger2Markup version: 1.1.0
Problem description: If your API is served up at a URL like https://host/v2, then Swagger lets you define that in the Swagger Object as the basePath attribute. In this case, it would be "/v2".
The Swagger spec says that you should then define your Paths Object with a relative path that will be appended to basePath.
The path example (or whatever it is called) that is output following the path title in Swagger2Markup, however, only uses the operation's method and path, and ignores the basePath.
Given the attached sample, the current output in paths.adoc has this:
[[_flubbers_get]]
=== Get all of the flubbers
....
GET /flubbers
....
What I would expect to see is this:
[[_flubbers_get]]
=== Get all of the flubbers
....
GET /v2/flubbers
....