-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
questionFurther information is requestedFurther information is requested
Description
In our requestBody.feature, we specifically assert that a GET request should accept a body. However, the OpenApi spec says:
In other cases where the HTTP spec is vague (such as GET, HEAD and DELETE), requestBody is permitted but does not have well-defined semantics and SHOULD be avoided if possible.
See https://swagger.io/specification/#operation-object
Perhaps we shouldn't have this test, or if we don't test the same thing elsewhere, repurpose it to make it into a POST (or other method with a well-defined spec for the request body)?
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested