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

Feature Request: OpenApi import: support $ref remote reference #39

Open
rzorzorzo opened this issue Dec 22, 2022 · 1 comment
Open

Feature Request: OpenApi import: support $ref remote reference #39

rzorzorzo opened this issue Dec 22, 2022 · 1 comment

Comments

@rzorzorzo
Copy link

example:
https://gitlab.ow2.org/bonita/bonita-openapi/-/tree/master
currently there is no way of importing this openapi spec into yajsw.

import of the entry point openapi/openapi.yaml causes the following error:

java.lang.RuntimeException: Unable to load RELATIVE ref: ./paths/loginservice.yaml path: /tmp

Suggestion: allow import of a .zip file with input of relative path to the entry point file.

This also raises the general question of support for http uris. I think that supporting http uris could lead to security issues or require authentication.

reference:
https://swagger.io/docs/specification/using-ref/

@jonrosner
Copy link
Contributor

Will look into it. Since resolving HTTP could lead to security issues, we probably just start with the .zip file approach.

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