File: array.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 (20 lines) | stat: -rw-r--r-- 418 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
20
swagger: '2.0'
info:
  version: 1.0.0
  title: 'array-body-api'
paths:
  /echo:
    post:
      operationId: "postEcho"
      summary: Post an object
      parameters:
        - name: body
          in: body
          description: this argument is a string array
          schema:
            type: array
            items:
              type: string
      responses:
        '200':
          description: All is good