From 752141d5c4af446635e96f73d0e9cdaf45154329 Mon Sep 17 00:00:00 2001 From: Ferdi Koomen Date: Fri, 12 Mar 2021 22:37:02 +0100 Subject: [PATCH] - Added better example --- test/__snapshots__/index.spec.js.snap | 2 ++ test/spec/v2.json | 2 +- test/spec/v3.json | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/__snapshots__/index.spec.js.snap b/test/__snapshots__/index.spec.js.snap index d8d81f83..93bbbbb0 100644 --- a/test/__snapshots__/index.spec.js.snap +++ b/test/__snapshots__/index.spec.js.snap @@ -2088,6 +2088,7 @@ export class ParametersService { }, query: { 'parameter-query': parameterQuery, + 'default': _default, }, formData: { 'parameter_form': parameterForm, @@ -4740,6 +4741,7 @@ export class ParametersService { }, query: { 'parameter-query': parameterQuery, + 'default': _default, }, formData: { 'parameter_form': parameterForm, diff --git a/test/spec/v2.json b/test/spec/v2.json index 27e01e2b..ce09e23f 100644 --- a/test/spec/v2.json +++ b/test/spec/v2.json @@ -136,7 +136,7 @@ { "description": "This is the parameter with a reserved keyword", "name": "default", - "in": "path", + "in": "query", "type": "string", "required": false }, diff --git a/test/spec/v3.json b/test/spec/v3.json index 55e9c51b..dc67ad96 100644 --- a/test/spec/v3.json +++ b/test/spec/v3.json @@ -176,7 +176,7 @@ { "description": "This is the parameter with a reserved keyword", "name": "default", - "in": "path", + "in": "query", "required": false, "nullable": false, "schema": {