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

     1  ---
     2  swagger: "2.0"
     3  info:
     4    description: example in response test
     5    title: expand test
     6    version: "0.0.0"
     7  schemes:
     8    - http
     9  definitions:
    10    Response:
    11      type: object
    12      properties:
    13        test:
    14          type: string
    15  paths:
    16    /test:
    17      get:
    18        operationId: optest
    19        responses:
    20          200:
    21            description: Success
    22            schema:
    23              $ref: '#/definitions/Response'
    24            examples:
    25              "application/json":
    26                test: blah
    27    /test2:
    28      get:
    29        operationId: optest2
    30        responses:
    31          200:
    32            description: Success
    33            schema:
    34              $ref: '#/definitions/Response'