You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Wed, Feb 8, 2023 at 5:50 PM Dustin Byrne ***@***.***> wrote:
OpenAPI does not support requestBody within DELETE methods because it
does not have explicitly defined semantics
<https://www.rfc-editor.org/rfc/rfc7231#section-4.3.5>.
See the following GitHub issue: OAI/OpenAPI-Specification#1801
<OAI/OpenAPI-Specification#1801>
The following generated definition is invalid:
/api_keys/{id}:
delete:
responses:
'302':
content: {}
description: Found
requestBody:
content:
application/x-www-form-urlencoded:
schema:
type: object
properties:
commit:
type: string
utf8:
type: string
parameters:
- name: id
in: path
schema:
type: string
required: true
—
Reply to this email directly, view it on GitHub
<#1010>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAVC64BPJZDD24YDUWYLFDWWQPLBANCNFSM6AAAAAAUV2Y56E>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
dustinbyrne
changed the title
OpenAPI: DELETE operations cannot have a requestBody
OpenAPI: GET, DELETE operations cannot have a requestBodyFeb 10, 2023
OpenAPI does not support
requestBody
withinGET
,DELETE
methods because it does not have explicitly defined semantics.See the following GitHub issue: OAI/OpenAPI-Specification#1801
The following generated definition is invalid:
The text was updated successfully, but these errors were encountered: