fork of hey-api/openapi-ts because I need some additional things
1openapi: 3.1.1
2info:
3 title: OpenAPI 3.1.1 exclude deprecated example
4 version: 1
5paths:
6 /foo:
7 post:
8 requestBody:
9 content:
10 'application/json':
11 schema:
12 $ref: '#/components/schemas/Foo'
13 required: true
14 responses:
15 '200':
16 description: OK
17 /bar:
18 post:
19 deprecated: true
20 requestBody:
21 content:
22 'application/json':
23 schema:
24 $ref: '#/components/schemas/Bar'
25 required: true
26 responses:
27 '200':
28 description: OK
29components:
30 schemas:
31 Foo:
32 type: string
33 Bar:
34 deprecated: true
35 type: string