Skip to content

Conversation

@seriouslag
Copy link
Collaborator

@seriouslag seriouslag commented Mar 27, 2023

Optional params are not marked as optional, this is demonstrated already in the repo under the /pets endpoint.

limit and tags are marked as required in the hook when they should be optional.

Previously if a property has a default value then it was marked as not optional.
Now if it is marked as optional, its optional.
If any value has a default value then it is marked as optional.
Copy link
Owner

@7nohe 7nohe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants