swagger: '2.0'
info:
  title: 'Buggy Api'
  version: '1.0'
consumes:
  - application/json
paths:
  /foo/bar:
    post:
      responses:
        '200':
          description: ok
          schema:
            type: object
            additionalProperties: false
            properties:
              n:
                type: number
                example: 1.23
  /foo/bar2:
    post:
      responses:
        '200':
          description: ok
          schema:
            $ref: '#/definitions/bar2'
definitions:
  bar2:
    type: object
    additionalProperties: false
    properties:
      n:
        type: number
        example: 4.56
