fork of hey-api/openapi-ts because I need some additional things
at main 41 lines 1.0 kB view raw
1{ 2 "openapi": "3.1.0", 3 "info": { 4 "title": "OpenAPI 3.1.0 transformers array example", 5 "version": "1" 6 }, 7 "paths": { 8 "/foo": { 9 "get": { 10 "responses": { 11 "200": { 12 "description": "OK", 13 "content": { 14 "application/json": { 15 "schema": { 16 "type": "object", 17 "properties": { 18 "foo": { 19 "type": "array", 20 "items": { 21 "type": "object", 22 "properties": { 23 "baz": { 24 "type": "string", 25 "format": "date-time" 26 } 27 }, 28 "required": ["baz"] 29 } 30 } 31 }, 32 "required": ["foo"] 33 } 34 } 35 } 36 } 37 } 38 } 39 } 40 } 41}