xref: /Universal-ctags/Units/parser-openapi.r/openapi.d/input.yaml (revision 871007dc55b1297703d4fd39d217c110dda5671f)
1openapi: 3.0.0
2info:
3    title: test
4    description: test
5    version: '1.0'
6
7servers:
8  - url: http://example.com
9    description: production
10
11paths:
12    /sample/path:
13        get:
14            summary: simple handler
15            responses: {}
16
17    /sample/other/path:
18        get:
19            responses: {}
20        post:
21            summary: xxx
22            responses: {}
23
24components:
25    schemas:
26        NullableField:
27            type: object
28            properties: {}
29        NullableFieldStringEnum:
30            type: object
31            properties: {}
32
33    parameters:
34        CustomHeader:
35            in: header
36            name: X-Custom-Header
37            required: false
38            schema:
39                type: string
40
41    responses:
42        Response1:
43            description: Payment Required
44            content:
45                application/json:
46                    schema:
47                        type: object
48                        properties: {}
49        Response2:
50            description: smth 2
51            content:
52                application/json:
53                    schema:
54                        type: object
55                        properties: {}
56
57tags:
58  - name: android_handler
59    description: Handler for Android clients
60  - name: ios_handler
61    description: Handler for iOS clients
62