File tree Expand file tree Collapse file tree 4 files changed +20
-1
lines changed Expand file tree Collapse file tree 4 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
1010## [ 0.15.0] - Unreleased
1111
12+ ### Changed:
13+
14+ - Snippets: ` devproxy-plugin-open-api-spec-generator ` - OpenApiSpecGeneratorPlugin config section
15+
1216## [ 0.14.0] - 2024-11-27
1317
1418### Added:
Original file line number Diff line number Diff line change @@ -126,6 +126,7 @@ Shown when the active document is a Dev Proxy configuration file
126126| ` devproxy-plugin-graph-odsp-search-guidance ` | ODSPSearchGuidancePlugin instance |
127127| ` devproxy-plugin-openai-mock-response ` | OpenAIMockResponsePlugin instance |
128128| ` devproxy-plugin-open-api-spec-generator ` | OpenApiSpecGeneratorPlugin instance |
129+ | ` devproxy-plugin-open-api-spec-generator-config ` | OpenApiSpecGeneratorPlugin config section |
129130| ` devproxy-plugin-rate-limiting ` | MockResponsePlugin instance |
130131| ` devproxy-plugin-rate-limiting-config ` | RateLimitingPlugin config section |
131132| ` devproxy-plugin-rate-limiting-file ` | Dev Proxy rate limiting file |
Original file line number Diff line number Diff line change @@ -148,7 +148,11 @@ export const pluginSnippets: PluginSnippets = {
148148 instance : 'devproxy-plugin-openai-mock-response' ,
149149 } ,
150150 OpenApiSpecGeneratorPlugin : {
151- instance : 'devproxy-plugin-openapi-doc-generator' ,
151+ instance : 'devproxy-plugin-open-api-spec-generator' ,
152+ config : {
153+ name : 'devproxy-plugin-open-api-spec-generator-config' ,
154+ required : false
155+ }
152156 } ,
153157 RateLimitingPlugin : {
154158 instance : 'devproxy-plugin-rate-limiting' ,
Original file line number Diff line number Diff line change 791791 ],
792792 "description" : " OpenApiSpecGeneratorPlugin instance"
793793 },
794+ "OpenApiSpecGeneratorPluginConfig" : {
795+ "prefix" : " devproxy-plugin-open-api-spec-generator-config" ,
796+ "body" : [
797+ " \" openApiSpecGeneratorPlugin\" : {" ,
798+ " \t\" includeOptionsRequests\" : false," ,
799+ " \t\" specVersion\" : \" v3_0\" " ,
800+ " }"
801+ ],
802+ "description" : " OpenApiSpecGeneratorPlugin config section"
803+ },
794804 "RateLimitingPlugin" : {
795805 "prefix" : " devproxy-plugin-rate-limiting" ,
796806 "body" : [
You can’t perform that action at this time.
0 commit comments