Openapi Operations Tags One Error (Edit)

Has one operation tags.

Rule Definition

openapi-operations-tags-one-error.yaml
{ "openapi-operations-tags-one-error": {"description":"Has one operation tags.","message":"One Operation Tags","given":"$.paths.*[get,post,patch,put,delete]","severity":"error","then":{"field":"tags","function":"length","functionOptions":{"min":1}}} }

Back to All of the Rules