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

External references #11

Open
Sytten opened this issue Jan 2, 2019 · 3 comments
Open

External references #11

Sytten opened this issue Jan 2, 2019 · 3 comments

Comments

@Sytten
Copy link

Sytten commented Jan 2, 2019

Neither Local or Remote references are resolved, despite them now being in the standard.
Thus something like:

definitions:
  Store:
    $ref: "./Store.yml"

Will fail the validation...

@davidnghk01
Copy link

I facing similar issue which is $ref didn't working.

And i found that on oas-chow-chow library , which didn't resolve $ref actually, that why $ref not working

Example failure code: https://github.com/davidnghk01/oas3-koa/tree/koa-oas3
If you try start server by bin/www and access 127.0.0.1:3000/docs

You will find ref is load correctly but access 127.0.0.1:3000/api/foo?foo=bar only get the error.
Invalid request method - get

@davidnghk01
Copy link

I temporary fix that by using swagger-combine

@Sytten
Copy link
Author

Sytten commented Jan 22, 2019

Interesting, thanks for the link!

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

2 participants