Skip to content

Loading a swagger yaml doc / $ref / paths relative to js module #429

@aprixon01112017

Description

@aprixon01112017

Hi

I am loading a swagger yaml document with js-yaml that contains references

$ref: 'definitions/definition.yaml#/ObjectDefinition'

And apparently the paths need to be relative to the js module the root yaml document is loaded from.

It certainly would be nice to have the paths relative to the including yaml document, though.

In case this is relative to js-yaml I would like to request to change that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions