Adds v1.2.1 schemas#1424
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
Adds JSON schema definitions for Dev Proxy version 1.2.1, providing validation and configuration support for plugins and core functionality. This release includes schemas for various plugins ranging from authentication and rate limiting to API generation and telemetry.
- Adds comprehensive schema validation for 40+ plugin configurations
- Includes main configuration schema (rc.schema.json) for core Dev Proxy settings
- Provides schemas for supporting files like mock definitions, rewrite rules, and error responses
Reviewed Changes
Copilot reviewed 36 out of 36 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| typespecgeneratorplugin.schema.json | Schema for TypeSpec generator plugin configuration |
| rewriteplugin.schema.json | Schema for URL rewrite plugin settings |
| rewriteplugin.rewritesfile.schema.json | Schema for rewrite rules definition file |
| rc.schema.json | Main Dev Proxy configuration schema |
| ratelimitingplugin.schema.json | Schema for rate limiting plugin configuration |
| ratelimitingplugin.customresponsefile.schema.json | Schema for custom rate limit responses |
| openapispecgeneratorplugin.schema.json | Schema for OpenAPI spec generator plugin |
| openaitelemetryplugin.schema.json | Schema for OpenAI telemetry plugin configuration |
| openaitelemetryplugin.pricesfile.schema.json | Schema for language model pricing data |
| mockresponseplugin.schema.json | Schema for mock response plugin configuration |
| mockresponseplugin.mocksfile.schema.json | Schema for mock response definitions |
| mockrequestplugin.schema.json | Schema for mock request plugin configuration |
| mockrequestplugin.mockfile.schema.json | Schema for mock request definitions |
| minimalpermissionsplugin.schema.json | Schema for minimal permissions plugin |
| minimalpermissionsguidanceplugin.schema.json | Schema for permissions guidance plugin |
| minimalcsompermissionsplugin.schema.json | Schema for SharePoint CSOM permissions plugin |
| minimalcsompermissions.types.schema.json | Schema for CSOM types and permissions mapping |
| latencyplugin.schema.json | Schema for latency simulation plugin |
| languagemodelratelimitingplugin.schema.json | Schema for language model rate limiting |
| languagemodelratelimitingplugin.customresponsefile.schema.json | Schema for custom LM rate limit responses |
| languagemodelfailureplugin.schema.json | Schema for language model failure simulation |
| httpfilegeneratorplugin.schema.json | Schema for HTTP file generator plugin |
| graphrandomerrorplugin.schema.json | Schema for Microsoft Graph random error plugin |
| graphminimalpermissionsplugin.schema.json | Schema for Graph minimal permissions plugin |
| graphminimalpermissionsguidanceplugin.schema.json | Schema for Graph permissions guidance |
| genericrandomerrorplugin.schema.json | Schema for generic random error plugin |
| genericrandomerrorplugin.errorsfile.schema.json | Schema for error response definitions |
| executionsummaryplugin.schema.json | Schema for execution summary plugin |
| devtoolsplugin.schema.json | Schema for browser dev tools plugin |
| crudapiplugin.schema.json | Schema for CRUD API plugin configuration |
| crudapiplugin.apifile.schema.json | Schema for CRUD API definition file |
| cachingguidanceplugin.schema.json | Schema for caching guidance plugin |
| authplugin.schema.json | Schema for authentication plugin configuration |
| apicenterproductionversionplugin.schema.json | Schema for API Center production version plugin |
| apicenteronboardingplugin.schema.json | Schema for API Center onboarding plugin |
| apicenterminimalpermissionsplugin.schema.json | Schema for API Center minimal permissions plugin |
| @@ -0,0 +1,58 @@ | |||
| { | |||
| "$schema": "http://json-schema.org/draft-07/schema#", | |||
There was a problem hiding this comment.
Inconsistent JSON Schema version - this file uses draft-07 while all other schema files use draft/2020-12/schema. Should be updated to match the project standard.
Suggested change
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "$schema": "https://json-schema.org/draft/2020-12/schema", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.