fork of hey-api/openapi-ts because I need some additional things
at main 30 lines 464 B view raw
1{ 2 "swagger": "2.0", 3 "info": { 4 "title": "OpenAPI 2.0 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 }, 23 "securityDefinitions": { 24 "foo": { 25 "in": "query", 26 "name": "foo", 27 "type": "apiKey" 28 } 29 } 30}