yaade
yaade copied to clipboard
Feature Request: OpenApi import: support $ref remote reference
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/
Will look into it. Since resolving HTTP could lead to security issues, we probably just start with the .zip file approach.