vscode-yaml
vscode-yaml copied to clipboard
[Bug] OpenAPI 3.0 Schema validation error in version 1.17.0
Describe the bug
In 1.17.0, when using OpenAPI 3.0 schema, we get this:
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
- Install YAML extension 1.17.0
- Create a YAML file
- 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.