OpenAPI No Request Body On Delete Info (Edit)

DELETE HTTP methods should not have a request body, keeping API requests compliant with the HTTP standard

OpenAPIRequest BodiesDELETEDefault

Rule Definition

openapi-request-bodies-delete-info.yaml
{"openapi-request-bodies-delete-info":{"description":"DELETE HTTP methods should not have a request body, keeping API requests compliant with the HTTP standard","message":"DELETE Request Body","given":"$.paths.*.delete","severity":"info","then":{"field":"requestBody","function":"truthy"}}}

Back to All of the Rules