-
Notifications
You must be signed in to change notification settings - Fork 136
Open
Description
I've noticed that many operations include an unnecessary request body definition that is essentially defining an empty schema, on routes that don't accept (to my knowledge at least) a request body. For example GET /v1/accounts:
/v1/accounts:
get:
description: ...
operationId: GetAccounts
parameters:
- ...
requestBody:
content:
application/x-www-form-urlencoded:
encoding: {}
schema:
additionalProperties: false
properties: {}
type: object
required: falseThis is a bit annoying in terms of code generation, so I'm curious as to the motivation here, and whether these could be removed?
Metadata
Metadata
Assignees
Labels
No labels