Closed deefactorial closed 8 years ago
Haven't tested it, but I would guess that it's because your URLs (or rather URIs) are invalid URLs (due to the curly braces). If you can test easily, try removing them and see if it resolves the issue. Otherwise, I could get around to testing it a bit later.
Okay, just tested it, and that's indeed the issue. The URLs for oauth2 definitions do not allow templating/parameter substitution like regular paths. You could escape the curly braces, but it would still not provide you with what you hope - templated URLs.
If you'd like to see supported added for it in the future, I'd suggest opening an issue on the spec.
I'm afraid this is not really a bug, so will be closing the issue.
I posted this issue on swagger-tools: https://github.com/apigee-127/swagger-tools/issues/329
When I run the swagger-tools UI and I browse to the /docs There is an ERROR at the bottom of the page,
When I click on it brings me to:
https://online.swagger.io/validator/debug?url=https://cloud.openmoney.cc/api-docs
The errors I'm getting are:
My swagger.json file has no errors on http://editor.swagger.io/