Open dspeele opened 9 years ago
This becomes an issue when the path becomes more complex, for example: /store/pets/{product_code}
Thanks!
What's happening here is that apidoc assumes REST - and so need to find a way to turn a resource into a URL. I think it's possible by inspecting the response types to figure out what the resource is... and then can map to apidoc. This is a bit tricky but starting to think through best path
Ah - saw your other pull request - thanks!
Do we know when the fix to support $refs
is going in?
When attempting to parse swagger document, parser.scala is using the path to try to match against existing models. This is resulting in the following exception:
We can use the schema object to get the reference to the model instead.