fork of hey-api/openapi-ts because I need some additional things
1swagger: '2.0'
2info:
3 title: OpenAPI 2.0 sdk nested classes example
4 version: 1.0.0
5 description: Test schema for nested class generation with various operationId patterns
6host: api.example.com
7basePath: /v1
8schemes:
9 - https
10paths:
11 /business/providers/domains:
12 get:
13 tags:
14 - business
15 - providers
16 - domains
17 operationId: business.providers.domains.get
18 produces:
19 - '*/*'
20 responses:
21 '200':
22 description: OK
23 schema:
24 type: string
25 post:
26 tags:
27 - providers
28 - domains
29 - business
30 operationId: business.providers.domains.post
31 produces:
32 - '*/*'
33 responses:
34 '200':
35 description: OK
36 schema:
37 type: string
38 put:
39 tags:
40 - domains
41 produces:
42 - '*/*'
43 responses:
44 '200':
45 description: OK
46 schema:
47 type: string
48 /locations/businesses:
49 get:
50 tags:
51 - locations
52 - business
53 operationId: business.get
54 produces:
55 - '*/*'
56 responses:
57 '200':
58 description: OK
59 schema:
60 type: string
61 /locations:
62 get:
63 tags:
64 - locations
65 operationId: get
66 produces:
67 - '*/*'
68 responses:
69 '200':
70 description: OK
71 schema:
72 type: string