Skip to content

Referencing a value inside a yaml file #71

Closed
@vondacho

Description

Given the following input file: in.yaml

description:
    $ref: ./desc.yaml#/description

And the following referenced file: desc.yaml:

description: this is a value

When I merge the input file using swagger-merger -i in.yaml -o out.yaml

Then I receive the following error: Unexpected token } in JSON at position 33

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions