rules:
  acme-operation-summary:
    description: Every operation needs a summary.
    given: $.paths[*]['get','put','post','delete','options','head','patch','trace']
    then:
      field: summary
      function: truthy
overrides:
  - files: ["document.yaml#/paths"]
    extends: ./base.yaml
    rules:
      acme-operation-summary: error
