swagger-play
swagger-play copied to clipboard
basepath does not comply with swagger spec
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 underschemes)basepath:/