github.com/snyk/vervet/v4@v4.27.2/testdata/resource-rules.yaml (about)

     1  extends:
     2    - - spectral:oas
     3      - all
     4  
     5  rules:
     6    openapi-tags: off
     7    operation-tags: off
     8    info-contact: off
     9    info-description: off
    10    info-license: off
    11    license-url: off
    12  
    13    oas3-server-not-example.com: off
    14  
    15    parameter-names-snake-case:
    16      description: Parameter names must be snake_case.
    17      message: '{{description}}'
    18      severity: error
    19      given: $..parameters[?(@.in!='header')]
    20      then:
    21        field: 'name'
    22        function: casing
    23        functionOptions:
    24          type: snake
    25