Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Jul 3, 2025

This PR updates all Dev Proxy schema references in the toolkit to use the latest v1.0.0 schema versions, ensuring users get the most up-to-date schema validation and IntelliSense when working with Dev Proxy configuration files.

Changes Made

📝 Snippets Updated

  • Updated 41 schema URLs in src/snippets.json from v0.29.2 to v1.0.0
  • All snippet types affected:
    • Config file schemas (rc.schema.json)
    • Plugin-specific schemas (auth, api-center, caching, crud-api, etc.)
    • Mock response schemas (mockresponseplugin.schema.json)
    • Rate limiting, rewrite, and other specialized schemas

🧪 Test Files Updated

  • Updated 14 test example files from various older schema versions (v0.24.0, v0.29.0) to v1.0.0
  • Ensures consistent schema validation across all test scenarios

📋 Changelog Updated

  • Added entry in the v1.0.0 section: "Snippets: All snippets that reference schemas updated to use v1.0.0 schema"

Verification

  • ✅ All changes compile successfully
  • ✅ Linting passes without issues
  • ✅ No remaining old schema versions in source files
  • ✅ Minimal, surgical changes - only schema version strings updated

Impact

Users will now get the latest schema validation features and improved IntelliSense support when creating Dev Proxy configuration files using the toolkit's snippets.

Fixes #297.

Warning

Firewall rules blocked me from connecting to one or more addresses

I tried to connect to the following addresses, but was blocked by firewall rules:

  • update.code.visualstudio.com
    • Triggering command: node /home/REDACTED/work/dev-proxy-toolkit/dev-proxy-toolkit/node_modules/.bin/vscode-test (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Co-authored-by: garrytrinder <11563347+garrytrinder@users.noreply.github.com>
@Copilot Copilot AI changed the title [WIP] Update snippets to v1.0.0 schemas Update snippets to v1.0.0 schemas Jul 3, 2025
@Copilot Copilot AI requested a review from garrytrinder July 3, 2025 08:37
Copilot finished work on behalf of garrytrinder July 3, 2025 08:37
Copy link
Member

@garrytrinder garrytrinder left a comment

Choose a reason for hiding this comment

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

Let's not update the test examples and keep these as is.

Co-authored-by: garrytrinder <11563347+garrytrinder@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jul 3, 2025

Let's not update the test examples and keep these as is.

Done! I've reverted all test example files to keep their original schema versions while preserving the snippets.json updates. Commit 9c388ea

@Copilot Copilot AI requested a review from garrytrinder July 3, 2025 09:23
Copilot finished work on behalf of garrytrinder July 3, 2025 09:23
@garrytrinder garrytrinder marked this pull request as ready for review July 3, 2025 10:10
@garrytrinder garrytrinder merged commit 3a5fd97 into main Jul 3, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update snippets to v1.0.0 schemas
2 participants