We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In case $ref for path is pointing to a file in nested directory, internally defined refs are using wrong base directory.
$ref
path
ref
While having swagger.yaml with:
swagger.yaml
paths: /some_path: $ref: './subdir/some.yaml'
and some.yaml with:
some.yaml
get: responses: 200: schema: type: object properties: some_property: $ref: './some_definitions.yaml#/SomeProperty'
will try to resolve some_definitions.yaml in the swagger.yaml root directory instead of subdir
some_definitions.yaml
subdir
The text was updated successfully, but these errors were encountered:
pull request with fix #1224
Sorry, something went wrong.
thanks! @ZsergUA the PR is now merged.
No branches or pull requests
In case
$ref
forpath
is pointing to a file in nested directory, internally definedref
s are using wrong base directory.While having
swagger.yaml
with:and
some.yaml
with:will try to resolve
some_definitions.yaml
in theswagger.yaml
root directory instead ofsubdir
The text was updated successfully, but these errors were encountered: