openapi: 3.0.0
paths:
  /pet:
    parameters:
      - $ref: '#/components/parameters/path-param'
    put:
      parameters:
        - $ref: '#/components/parameters/param-a'
        - $ref: ./param-b.yaml
        - name: test
    get:
      parameters:
        - $ref: '#/components/parameters/param-a'
        - $ref: ./param-c.yaml
    post:
      parameters:
        - $ref: '#/paths/~1pet/put/parameters/2'
components:
  parameters:
    param-a:
      name: param_a
      schema:
        $ref: ./schema-a.yaml
      examples:
        first:
          $ref: ./examples.yaml#/param-a/first
        second:
          $ref: ./examples.yaml#/param-a/second
    path-param:
      name: path_param
      examples:
        first:
          $ref: ./examples.yaml#/path-param/first
