File: fixture-43-fail.yaml

package info (click to toggle)
golang-github-go-openapi-validate 0.24.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,040 kB
  • sloc: sh: 11; makefile: 6
file content (27 lines) | stat: -rw-r--r-- 548 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
21
22
23
24
25
26
27
swagger: '2.0'
info:
  title: Object
  version: 0.1.0

paths:
  "/":
    get:
      operationId: getBody
      parameters:
        - name: yet_other_server_id
          in: body
          schema:
            # Invalid array definition
            type: array
            properties:
              other:
                type: string
      responses:
        '200':
          description: ko
            # Invalid array definition
          schema:
            type: array
            properties:
              another:
                type: string