-
Notifications
You must be signed in to change notification settings - Fork 96
Closed
Labels
enhancementNew feature or requestNew feature or requestunder discussionfeature/enhancement needs more input to decide if or how it should be implemented.feature/enhancement needs more input to decide if or how it should be implemented.
Description
Hello! I was messing with an implementation of this package and came across this situation.
I wonder if it would be possible to add typed setters for some properties, like Paths have with addPath.
Just to have more fluid and intuitive implementation.
If yes, would be willing to accept pull request with these kind of modifications?
Something like:
$pathItem = new PathItem();
$post = new Operation();
$pathItem->setPost($post);
I used a typescript documentation package that made a little bit easier to write. That's where my idea comes from.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestunder discussionfeature/enhancement needs more input to decide if or how it should be implemented.feature/enhancement needs more input to decide if or how it should be implemented.