swagger-play icon indicating copy to clipboard operation
swagger-play copied to clipboard

basepath does not comply with swagger spec

Open kenske opened this issue 9 years ago • 0 comments

According to the swagger spec:

The base path on which the API is served, which is relative to the host. If it is not included, the API is served directly under the host. The value MUST start with a leading slash (/).

However, the default value being set by swagger-play is http://localhost:9000.

As I see it, the defaults should be this:

  • host : localhost:9000 (note that there is no scheme, that should be defined under schemes)
  • basepath : /

kenske avatar Jun 06 '16 14:06 kenske