From f28b9479ebca0701c3859532d9d116105f640e86 Mon Sep 17 00:00:00 2001 From: Thiago Tognoli Date: Wed, 4 Sep 2024 02:35:43 -0300 Subject: [PATCH] bugfix: correct param in map --- lib/services/schema-object-factory.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/schema-object-factory.ts b/lib/services/schema-object-factory.ts index 27dd5feb8..c0d786be1 100644 --- a/lib/services/schema-object-factory.ts +++ b/lib/services/schema-object-factory.ts @@ -122,7 +122,7 @@ export class SchemaObjectFactory { (property: ParameterObject & ParamWithTypeMetadata) => { const parameterObject = { ...(omit(property, 'enumName') as ParameterObject), - in: 'query', + in: param.in ?? 'query', required: property.required ?? true }; return parameterObject;