-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error when building swagger file with relative $ref files #1193
Comments
It's not supported by Swagger-Codegen at the moment: #742 |
@wing328 ah okay, no worries 😄 Does |
I'm not sure. I would suggest you to ask in |
This exception is caused by something in swagger-core. A pull request has been opened, but not merged yet. |
@jamiehannaford Looks like you have a JSON parse error in your referenced file: https://raw.githubusercontent.com/jamiehannaford/swagger-magnum/jamie/v1/baymodels/operations.json# The |
@fehguy Good catch, thanks! When I fix that JSON line, I still get various errors. When I specify a local file:
When I specify a remote file:
|
Hi, you must be experiencing some network issue. The UnknownHostErrors are valid, but not (I think) caused by codegen. Please reopen if you need more help. |
When I generate HTML docs from this Swagger file, I get an error. This is the command I'm using:
and this is the error I get:
Why is it not accepting
$ref
s to internal or relative files? The example in the spec allows it.The text was updated successfully, but these errors were encountered: