Skip to content

Commit

Permalink
openapi
Browse files Browse the repository at this point in the history
  • Loading branch information
pyramation committed May 26, 2024
1 parent 0dd70ce commit 1703ad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/schema-sdk/src/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ export const createOperation = (

const hasBody = operation.parameters?.some(
(param) => param.in === 'body' || param.in === 'formData'
);
) && ['post', 'put', 'patch'].includes(method)

const hasQuery = operation.parameters?.some(
(param) => param.in === 'query'
Expand Down

0 comments on commit 1703ad5

Please sign in to comment.