Open SAThomsen opened 7 years ago
The issues is due to you having /
in the #/definition
name. While Swagger itself does not forbid this, it does break JSON References resolution because /
is a special character for JSON Pointers (https://tools.ietf.org/html/rfc6901#section-3).
I will keep this open and raise an issue on the OAI repository to see if they have a position on this. If they do not, I will update json-refs
to address this.
Sounds good! Sorry for the late reply @whitlockjc. I missed the notification.
Hey guys, I have a quite large project and so I decided to bundle my definitions into subfolders. I have some models that I ideally would name the same and so I've done something like the following:
The validator however throws errors like the following:
I, however, don't seem to get any errors when I codegen my client. Am I abusing the swagger def, or is this an issue with the validator tool? I've replaced the "/" with "." which works.