fork of hey-api/openapi-ts because I need some additional things
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 60 lines 1.2 kB view raw
1{ 2 "openapi": "3.0.3", 3 "info": { 4 "title": "OpenAPI 3.0.3 transformers any of null 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": "array", 17 "items": { 18 "$ref": "#/components/schemas/Foo" 19 } 20 } 21 } 22 } 23 } 24 } 25 } 26 } 27 }, 28 "components": { 29 "schemas": { 30 "Foo": { 31 "type": "object", 32 "properties": { 33 "foo": { 34 "type": "string", 35 "format": "date-time" 36 }, 37 "bar": { 38 "anyOf": [ 39 { 40 "type": "string", 41 "nullable": true, 42 "format": "date-time" 43 } 44 ] 45 }, 46 "requiredBaz": { 47 "anyOf": [ 48 { 49 "type": "string", 50 "nullable": true, 51 "format": "date-time" 52 } 53 ] 54 } 55 }, 56 "required": ["requiredBaz"] 57 } 58 } 59 } 60}