Skip to content

Commit

Permalink
bugfix: correct param in map
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagotognoli authored Sep 4, 2024
1 parent f7098ce commit f28b947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/services/schema-object-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f28b947

Please sign in to comment.