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.

chore: broken test case

Lubos f71f0b82 edfce487

+41 -5
+6 -5
dev/openapi-ts.config.ts
··· 49 49 path: path.resolve( 50 50 getSpecsPath(), 51 51 // '2.0.x', 52 - // '3.0.x', 53 - '3.1.x', 52 + '3.0.x', 53 + // '3.1.x', 54 54 // 'circular.yaml', 55 55 // 'dutchie.json', 56 56 // 'enum-names-values.yaml', ··· 66 66 // 'sdk-method-class-conflict.yaml', 67 67 // 'sdk-nested-classes.yaml', 68 68 // 'sdk-nested-conflict.yaml', 69 - 'security-api-key.yaml', 69 + // 'security-api-key.yaml', 70 70 // 'string-with-format.yaml', 71 + 'broken.yaml', 71 72 // 'transformers.json', 72 73 // 'transformers-recursive.json', 73 74 // 'type-format.yaml', ··· 288 289 // name: '你們_errors_{{name}}', 289 290 // }, 290 291 // exportFromIndex: false, 291 - // name: '@hey-api/typescript', 292 + name: '@hey-api/typescript', 292 293 // requests: '我們_data_{{name}}', 293 294 // responses: { 294 295 // name: '我_responses_{{name}}', ··· 333 334 // fields.unwrap('path') 334 335 // }, 335 336 // include... 336 - name: '@hey-api/sdk', 337 + // name: '@hey-api/sdk', 337 338 operations: { 338 339 // container: 'object', 339 340 // containerName: {
+35
specs/3.0.x/broken.yaml
··· 1 + openapi: 3.0.1 2 + info: 3 + title: foo 4 + description: foo 5 + version: '1' 6 + components: 7 + schemas: 8 + Foo: 9 + type: object 10 + properties: 11 + foo: 12 + type: array 13 + items: 14 + type: object 15 + properties: 16 + baz: 17 + type: string 18 + bar: 19 + type: array 20 + items: 21 + type: object 22 + properties: 23 + baz: 24 + type: string 25 + Bar: 26 + type: object 27 + properties: 28 + foo: 29 + type: array 30 + items: 31 + $ref: '#/components/schemas/Foo/properties/foo/items' 32 + bar: 33 + type: array 34 + items: 35 + $ref: '#/components/schemas/Foo/properties/bar/items'