fork of hey-api/openapi-ts because I need some additional things
at main 73 lines 1.4 kB view raw
1swagger: 2.0 2info: 3 title: OpenAPI 2.0 sdk instance example 4 version: 1 5paths: 6 /foo: 7 get: 8 tags: 9 - fooBaz 10 produces: 11 - application/json 12 responses: 13 '200': 14 description: OK 15 schema: 16 type: string 17 post: 18 tags: 19 - fooBaz 20 operationId: foo.-post 21 produces: 22 - application/json 23 responses: 24 '200': 25 description: OK 26 schema: 27 type: string 28 put: 29 tags: 30 - fooBaz 31 operationId: /foo/-put/ 32 produces: 33 - application/json 34 responses: 35 '200': 36 description: OK 37 schema: 38 type: string 39 /foo/bar: 40 get: 41 tags: 42 - barBaz 43 produces: 44 - application/json 45 responses: 46 '200': 47 description: OK 48 schema: 49 type: string 50 post: 51 tags: 52 - fooBaz 53 - barBaz 54 operationId: foo.bar.post 55 produces: 56 - application/json 57 responses: 58 '200': 59 description: OK 60 schema: 61 type: string 62 put: 63 tags: 64 - fooBaz 65 - barBaz 66 operationId: /foo/bar/put/ 67 produces: 68 - application/json 69 responses: 70 '200': 71 description: OK 72 schema: 73 type: string