Closed
Description
example:
// minItems=undefined, maxItems=undefined
type A = X[];
// minItems=1, maxItems=undefined
type B = [X, ...X[]];
// minItems=1, maxItems=3;
type C = [X] | [X, X] | [X, X, X];
// minItems=undefined, maxItems=2;
type D = [] | [X] | [X, X];
- Have to be careful about code sizes that are too large
- The generated code is incompatible and should add an option
- openapi-typescript can put an array in items, but not in openapi3.0
Metadata
Metadata
Assignees
Labels
No labels