Skip to content

Parse from string containing the yaml/json open-api #207

Open
@digEmAll

Description

@digEmAll

Hi,
I'm trying to use swagger-parser in a browser application:
the user should be able to paste the open-api yaml/json code into a text area and then swagger-parser library should parse the API.

As far as I understood the parse method accepts only a file url, but in this case I don't have any.

Is there any solution ? Am I missing something ?

Thanks in advance

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