fork of hey-api/openapi-ts because I need some additional things
1{
2 "openapi": "3.0.4",
3 "info": {
4 "title": "OpenAPI 3.0.4 security api key example",
5 "version": "1"
6 },
7 "paths": {
8 "/foo": {
9 "get": {
10 "responses": {
11 "200": {
12 "description": "OK"
13 }
14 },
15 "security": [
16 {
17 "foo": []
18 }
19 ]
20 }
21 },
22 "/bar": {
23 "get": {
24 "responses": {
25 "200": {
26 "description": "OK"
27 }
28 },
29 "security": [
30 {
31 "bar": []
32 }
33 ]
34 }
35 }
36 },
37 "components": {
38 "securitySchemes": {
39 "foo": {
40 "in": "query",
41 "name": "foo",
42 "type": "apiKey"
43 },
44 "bar": {
45 "in": "cookie",
46 "name": "bar",
47 "type": "apiKey"
48 }
49 }
50 }
51}