rules:
  operation-summary:
    description: Every operation needs a summary.
    severity: warn
    given: $.paths[*]['get','put','post','delete','options','head','patch','trace']
    then:
      field: summary
      function: truthy
  operation-id-camel-case:
    description: operationId is written in camelCase.
    recommended: false
    given: $.paths[*]['get','put','post','delete','options','head','patch','trace'].operationId
    then:
      function: casing
      functionOptions:
        type: camel
