Openapi Request Body Schema Ref Warn (Edit)

Warn request body schema should have $ref.

Rule Definition

openapi-request-body-schema-ref-warn.yaml
{ "openapi-request-body-schema-ref-warn": {"description":"Warn request body schema should have $ref.","message":"Request Body Schema Ref","given":"$.paths.*.*.requestBody.content.*.schema.$ref","severity":"warn","then":{"function":"truthy"}} }

Back to All of the Rules