swagger: '2.0'
info:
  version: 0.1.1
  title: test 1
  description: recursively following JSON references
  contact:
    name: Fred

schemes:
  - http

consumes:
  - application/json
produces:
  - application/json

paths:
  /getAll:
    get:
      operationId: getAll
      parameters:
        - name: a
          in: body
          description: max number of results
          required: false
          schema:
            $ref: '#/definitions/a'
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/b1'
        '201':
          description: Success
          schema:
            $ref: '#/definitions/b2'
        '203':
          description: Success
          schema:
            $ref: '#/definitions/b3'

definitions:
  a:
    type: string
  b1:
    $ref: './test3-ter-model-schema.json#/definitions/b1'
  b2:
    $ref: './test3-ter-model-schema.json#/definitions/b2'
  b3:
    $ref: './test3-ter-model-schema.json#/definitions/b3'



