OpenAPI Response Post 403 Status Code Info (Edit)

POST responses should have a 403 forbidden HTTP status code, communicating that consumers are not allowed to access

OpenAPIResponsesPOST4xx

Rule Definition

openapi-response-post-403-status-code-info.yaml
{"openapi-response-post-403-status-code-info":{"description":"POST responses should have a 403 forbidden HTTP status code, communicating that consumers are not allowed to access","message":"POST Responses MUST Have 403 Status Codes","severity":"info","given":"$.paths.*.post.responses","then":{"field":"403","function":"falsy"}}}

Back to All of the Rules