File: interface.yml

package info (click to toggle)
golang-github-go-openapi-validate 0.20.3-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 6,412 kB
  • sloc: sh: 11; makefile: 4
file content (19 lines) | stat: -rw-r--r-- 369 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
swagger: '2.0'
info:
  version: 1.0.0
  title: 'string-body-api'
paths:
  /echo:
    post:
      operationId: "postEcho"
      summary: Post an object
      parameters:
        - name: body
          in: body
          description: this argument is a string
          schema:
            type: object

      responses:
        '200':
          description: All is good