Skip to content

feat: adds the default openapi file match for the JSON extension - #336273

Merged
Martin Aeschlimann (aeschli) merged 5 commits into
microsoft:mainfrom
baywet:feat/default-openapi-file-match
Sep 16, 2026
Merged

Martin Aeschlimann (aeschli) merged 5 commits into
microsoft:mainfrom
baywet:feat/default-openapi-file-match

Conversation

@baywet

Copy link
Copy Markdown
Member

closes #325970 intermediate stopgap for the schema matching. Questions: should schemastore and spec.openapi.org be added to the default trusted locations as well?

Copilot AI balanced review requested due to automatic review settings September 15, 2026 13:57
@baywet

Copy link
Copy Markdown
Member Author

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Referenced schemas cannot fully resolve until spec.openapis.org is trusted.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Adds default filename-based schema matching for OpenAPI-related documents in the JSON extension.

Changes:

  • Associates Arazzo, OpenAPI 3.x, and Overlay filenames with SchemaStore schemas.
File summaries
File Description
extensions/json-language-features/package.json Adds OpenAPI-related schema associations.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The manifest is valid and the schema URLs, matching patterns, and trust configuration are consistent.

Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

@aeschli
Martin Aeschlimann (aeschli) merged commit 0a4fc0a into microsoft:main Sep 16, 2026
34 checks passed
@baywet
Vincent Biret (baywet) deleted the feat/default-openapi-file-match branch September 16, 2026 14:08
@vs-code-engineering vs-code-engineering Bot added this to the 1.139.0 milestone Sep 16, 2026
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Oct 31, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants