This commit is contained in:
John Guo
2021-10-08 15:37:17 +08:00
parent 73e4a69383
commit edd62f3b4f

View File

@ -239,7 +239,7 @@ func (oai *OpenApiV3) addPath(in addPathInput) error {
case HttpMethodDelete:
// DELETE operations cannot have a requestBody.
operation.RequestBody.Value = nil
operation.RequestBody = nil
path.Delete = &operation
case HttpMethodConnect: