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

     1  swagger: '2.0'
     2  info:
     3    version: 1.0.0
     4    title: 'string-body-api'
     5  paths:
     6    /echo:
     7      post:
     8        summary: Post an object
     9        parameters:
    10          - name: body
    11            in: body
    12            schema:
    13              $ref: "#/definitions/pet"
    14        responses:
    15          '200':
    16            description: All is good
    17  definitions:
    18    pet:
    19      type: object
    20      required:
    21        - date
    22      properties:
    23        date:
    24          additionalProperties: true
    25          type: object
    26          description: Foo