fork of hey-api/openapi-ts because I need some additional things
at main 38 lines 684 B view raw
1swagger: 2.0 2info: 3 title: OpenAPI 2.0 exclude deprecated example 4 version: 1 5produces: 6 - application/json 7consumes: 8 - application/json 9paths: 10 /foo: 11 post: 12 parameters: 13 - name: body 14 in: body 15 required: true 16 schema: 17 $ref: '#/definitions/Foo' 18 responses: 19 '200': 20 description: OK 21 /bar: 22 post: 23 deprecated: true 24 parameters: 25 - name: body 26 in: body 27 required: true 28 schema: 29 $ref: '#/definitions/Bar' 30 responses: 31 '200': 32 description: OK 33definitions: 34 Foo: 35 type: string 36 Bar: 37 deprecated: true 38 type: string