Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 441 Bytes

File metadata and controls

20 lines (15 loc) · 441 Bytes

required-tag-description

This rule validates that all TagObjects have description.

Examples of valid OpenAPI TagObject

tags:
    - name: stocks
      description: "all operations associated in working with stocks" # <-- valid

Examples of invalid OpenAPI TagObject

tags:
    - name: stocks # <-- invalid, no description specified
    - name: billing
      description: "" # <-- invalid, cannot be empty