Skip to content
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

Validator throws error for external references #65

Open
bhardwz opened this issue Dec 5, 2022 · 0 comments
Open

Validator throws error for external references #65

bhardwz opened this issue Dec 5, 2022 · 0 comments

Comments

@bhardwz
Copy link

bhardwz commented Dec 5, 2022

I have a Swagger file which has external references.
Here is a snapshot of how I am calling out the external reference:

200:
      description: "Success"
      schema:
            $ref: "../../schema/car.yml#/definitions/services.CarMetadata"

Now Swagger Editor is not throwing error but, when I'm converting to swagger 3.0, I get this error:

---
- "malformed or unreadable swagger supplied"

This only comes up when I have external references in configuration.
Please look at this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant