Skip to content

YAML.parse() throws YAMLSemanticError when parse OpenAPI-Specification examples #108

@arx-8

Description

@arx-8

Thank you for creating an awesome package!

I got an error.
So, Can you fix this problem?

Overview

YAML.parse() throws YAMLSemanticError when parse OpenAPI-Specification examples

Reproducible example code

error-reproduction.zip

Reporter's environment

  • OS : Windows 7
  • node : v11.12.0
  • npm : 6.7.0
  • yaml : 1.5.0
  • js-yaml : 3.13.1 (For comparison)

Issue

YAML.parse() throws YAMLSemanticError.

Expected result

  • YAML.parse() throws no error.
  • YAML.parse() returns parsed Object.

Supplement

Other OpenAPI-Specification examples are working.
But, Only api-with-examples.yaml is not working...

Thank you and best regards,

Metadata

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