Openapi Operations Description Length Error (Edit)

Require operation description length 250.

Rule Definition

openapi-operations-description-length-error.yaml
{ "openapi-operations-description-length-error": {"description":"Require operation description length 250.","message":"Operation Description Length","given":"$.paths.*[get,post,patch,put,delete]","then":[{"field":"description","function":"length","functionOptions":{"max":250}}]} }

Back to All of the Rules