Openapi Schema Properties Array Items Error (Edit)

Require schema property array items.

Rule Definition

openapi-schema-properties-array-items-error.yaml
{ "openapi-schema-properties-array-items-error": {"description":"Require schema property array items.","message":"Schema Property Array Items","severity":"error","given":"$.components.schemas.*.properties.[?(@.type==\"array\")]","then":{"field":"items","function":"truthy"}} }

Back to All of the Rules