github.com/snyk/vervet/v6@v6.2.4/testdata/merge_test_dst.yaml (about)

     1  components:
     2    schemas:
     3      Foo:
     4        type: object
     5        properties:
     6          color:
     7            type: string
     8            enum: ["red", "green", "blue", "alpha"]
     9          quantity:
    10            type: number
    11      Baz:
    12        type: object
    13        properties:
    14          other:
    15            type: boolean
    16    parameters:
    17      Foo:
    18        in: path
    19        name: foo
    20        required: true
    21        schema:
    22          type: string
    23      Baz:
    24        in: path
    25        name: baz
    26        required: true
    27        schema:
    28          type: string
    29    headers:
    30      Foo:
    31        schema:
    32          type: string
    33      Baz:
    34        schema:
    35          type: string
    36    requestBodies:
    37      Foo:
    38       required: true
    39       content:
    40         application/json:
    41          schema:
    42            $ref: '#/components/schemas/Foo'
    43      Baz:
    44       required: true
    45       content:
    46         application/json:
    47          schema:
    48            $ref: '#/components/schemas/Baz'
    49    responses:
    50      '200':
    51        content:
    52          application/vnd.api+json:
    53            schema:
    54              $ref: '#/components/schemas/Foo'
    55      '202':
    56        content:
    57          application/vnd.api+json:
    58            schema:
    59              $ref: '#/components/schemas/Baz'
    60    securitySchemes:
    61      Foo:
    62       type: http
    63       scheme: basic
    64      Baz:
    65       type: http
    66       scheme: basic
    67    examples:
    68      Foo:
    69       value: foo
    70      Baz:
    71       value: bazil