OpenAPI No Request Body On Get Info (Edit)

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

OpenAPIRequest BodiesGETDefault

Rule Definition

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

Back to All of the Rules