Skip to main content



This rule belongs to the openapi-v3-apimatic-linting ruleset and states that:

A request body is required for HTTP POST method. Please ensure that the operation with the POST method has a properly defined request body. Check the schema and properties of the request body to ensure that they are correctly defined. If the operation does not require a request body, consider using a different HTTP method such as GET, PUT or DELETE instead.

Maximum SeverityWarning
MessageRequest body is required for POST method.
Rule SystemSemantic
Broad CategoryOpenAPI Operations
Products ImpactedCode Generation, Developer Experience Portal
Tagsopenapi3 openapi apimatic semantic linting post request body

Suggested Fixes

  • Ensure that request bodies are defined for http method.
  • Verify that the request body schema is defined correctly and is valid according to the OpenAPI specification.

For More Information