From 2c9749e1554d54d12b246b0aa7fc099e0a02ca24 Mon Sep 17 00:00:00 2001 From: Garry Trinder Date: Tue, 17 Dec 2024 09:27:24 +0000 Subject: [PATCH] Add specFormat property to devproxy-plugin-open-api-spec-generator-config snippet. Closes #163 --- CHANGELOG.md | 1 + src/snippets.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b3d56d2..65a016e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Diagnostics: Refactored code to be more readable and maintainable - Diagnostics: Improved config section check - Snippets: Optional config sections removed from snippets +- Snippets: `specFormat` property added to `devproxy-plugin-open-api-spec-generator-config` ### Fixed: diff --git a/src/snippets.json b/src/snippets.json index 4ceec76..f55e677 100644 --- a/src/snippets.json +++ b/src/snippets.json @@ -791,7 +791,8 @@ "body": [ "\"openApiSpecGeneratorPlugin\": {", "\t\"includeOptionsRequests\": false,", - "\t\"specVersion\": \"v3_0\"", + "\t\"specVersion\": \"v3_0\",", + "\t\"specFormat\": \"Json\"", "}" ], "description": "OpenApiSpecGeneratorPlugin config section"