-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
This issue is an epic. If I decide to ship anything mentioned here, I will cut such feature into it's own separate ticket.
The features listed here are supported by the Open API spec, but are currently not implemented, nor I necessarily deem them urgent for my personal use cases.
Therefore I'm capturing these features in this ticket for future reference.
-
uniqueItems -
additionalProperties - Required properties. Right now produced types are mostly nullable just to get the ball rolling. It would be nice to support required props across the board.
- Multiple variations of mixed type arrays, such as those containing both object literals mixed in with scalar types and references. This becomes rabbit-holey, but I am noting nonetheless that either more tests could be created, and/or more runtime assertions could be put in place to blunt the impact of any potentially silly recursions. Generated types are typically one-dimensional, with unions and intersections adding some depth, but PHPStan could offer limitless virtual type variations in arrays. Not sure Panettone would be the right place for interpreting mixed arrays into array shapes as again, that's a can of worms waiting to be opened.
Not supporting
- multilpleOf
- Multiple variations of min/max keywords
- Pattern
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels