Skip to content

Commit

Permalink
Merge pull request #3062 from thiagotognoli/master
Browse files Browse the repository at this point in the history
fix: correct ApiParam type as in: path
  • Loading branch information
kamilmysliwiec authored Sep 17, 2024
2 parents 276b4fa + f28b947 commit fdf9c1c
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 fdf9c1c

Please sign in to comment.