swagger-api / swagger-play

Apache License 2.0
330 stars 181 forks source link

basepath does not comply with swagger spec #86

Open kenske opened 8 years ago

kenske commented 8 years ago

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: