mirror of
https://gitee.com/johng/gf
synced 2026-07-05 05:13:14 +08:00
openapi
This commit is contained in:
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user