github.com/kaisawind/go-swagger@v0.19.0/fixtures/bugs/1437/fixture-1191.yaml (about)

     1  swagger: '2.0'
     2  info:
     3    version: '2.0.0'
     4    title: Thing API
     5    description: Some description
     6  basePath: /thing-api
     7  consumes:
     8    - application/json
     9  produces:
    10    - application/json
    11  paths:
    12    '/things':
    13      get:
    14        operationId: POST_things
    15        summary: Get a Thing
    16        description: Create a new thing
    17        responses:
    18          '200':
    19            description: Its all ok
    20            schema:
    21              type: object
    22              properties:
    23                notification_url:
    24                  $ref: '#/definitions/notification-url'
    25  definitions:
    26    notification-url:
    27      description: A URL to be notified about the Thing
    28      type: string
    29      maxLength: 1000
    30      format: uri