Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [0.15.0] - Unreleased

### Changed:

- Snippets: `devproxy-plugin-open-api-spec-generator` - OpenApiSpecGeneratorPlugin config section

## [0.14.0] - 2024-11-27

### Added:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ Shown when the active document is a Dev Proxy configuration file
| `devproxy-plugin-graph-odsp-search-guidance` | ODSPSearchGuidancePlugin instance |
| `devproxy-plugin-openai-mock-response` | OpenAIMockResponsePlugin instance |
| `devproxy-plugin-open-api-spec-generator` | OpenApiSpecGeneratorPlugin instance |
| `devproxy-plugin-open-api-spec-generator-config` | OpenApiSpecGeneratorPlugin config section |
| `devproxy-plugin-rate-limiting` | MockResponsePlugin instance |
| `devproxy-plugin-rate-limiting-config` | RateLimitingPlugin config section |
| `devproxy-plugin-rate-limiting-file` | Dev Proxy rate limiting file |
Expand Down
6 changes: 5 additions & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,11 @@ export const pluginSnippets: PluginSnippets = {
instance: 'devproxy-plugin-openai-mock-response',
},
OpenApiSpecGeneratorPlugin: {
instance: 'devproxy-plugin-openapi-doc-generator',
instance: 'devproxy-plugin-open-api-spec-generator',
config: {
name: 'devproxy-plugin-open-api-spec-generator-config',
required: false
}
},
RateLimitingPlugin: {
instance: 'devproxy-plugin-rate-limiting',
Expand Down
10 changes: 10 additions & 0 deletions src/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,16 @@
],
"description": "OpenApiSpecGeneratorPlugin instance"
},
"OpenApiSpecGeneratorPluginConfig": {
"prefix": "devproxy-plugin-open-api-spec-generator-config",
"body": [
"\"openApiSpecGeneratorPlugin\": {",
"\t\"includeOptionsRequests\": false,",
"\t\"specVersion\": \"v3_0\"",
"}"
],
"description": "OpenApiSpecGeneratorPlugin config section"
},
"RateLimitingPlugin": {
"prefix": "devproxy-plugin-rate-limiting",
"body": [
Expand Down
Loading