File: fixture-1851-3.yaml

package info (click to toggle)
golang-github-go-openapi-analysis 0.23.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie, trixie-proposed-updates
  • size: 2,548 kB
  • sloc: makefile: 4
file content (39 lines) | stat: -rw-r--r-- 752 bytes parent folder | download | duplicates (4)
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
28
29
30
31
32
33
34
35
36
37
38
39
swagger: '2.0'

info:
  title: 'Title'
  version: '1.0'

paths:
  '/':
    get:
      responses:
        200:
          description: OK response
          schema:
            $ref: '#/definitions/Response'
    post:
      parameters:
        - in: body
          schema:
            $ref: '#/definitions/Request'
          name: filter
      responses:
        200:
          description: OK response
          schema:
            $ref: '#/definitions/Response'

definitions:
  Response:
    type: object
    properties:
      Server:
        type: array
        items:
          $ref: 'definitions-3.yaml#/definitions/Server'
  Request:
    type: object
    properties:
      ServerStatus:
        $ref: 'definitions-3.yaml#/definitions/ServerStatus'