vscode-yaml icon indicating copy to clipboard operation
vscode-yaml copied to clipboard

[Bug] OpenAPI 3.0 Schema validation error in version 1.17.0

Open BrandonStudio opened this issue 7 months ago • 1 comments

Describe the bug

In 1.17.0, when using OpenAPI 3.0 schema, we get this:

Image

This behavior persist when switching to internal OpenAPI 3.0 or 3.1

Expected Behavior

The extension does not report error.

Current Behavior

The extension unexpectedly report error.

Steps to Reproduce

  1. Install YAML extension 1.17.0
  2. Create a YAML file
  3. Type
    # yaml-language-server: $schema=https://spec.openapis.org/oas/3.0/schema/2024-10-18
    openapi: 3.0.4
    

Environment

  • [x] Windows
  • [ ] Mac
  • [ ] Linux
  • [ ] other (please specify)

Workaround

Downgrading to 1.16.0 can solve this.

BrandonStudio avatar Mar 25 '25 05:03 BrandonStudio