...

Text file src/github.com/go-openapi/validate/fixtures/go-swagger/bugs/217/string.yml

Documentation: github.com/go-openapi/validate/fixtures/go-swagger/bugs/217

     1swagger: '2.0'
     2info:
     3  version: 1.0.0
     4  title: 'string-body-api'
     5paths:
     6  /echo:
     7    post:
     8      operationId: "postEcho"
     9      summary: Post a string, get the same string back.
    10      parameters:
    11        - name: body
    12          in: body
    13          description: this argument is a string
    14          schema:
    15            type: string
    16      responses:
    17        '200':
    18          description: this return value is a string
    19          schema:
    20            type: string
    21

View as plain text