Skip to content

Commit

Permalink
chore: add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
astahmer committed May 24, 2024
1 parent 90d54b9 commit f0886a0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .changeset/lovely-carrots-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"typed-openapi": minor
---

Thanks to @0237h:

Allow for finer marking of optional parameters Current behavior allows only for marking _all_ parameters as optional, or
none.

This change checks first if all parameters are optional, keeping the old behavior if that's the case, otherwise iterates
through the parameters to mark only those that **should** be optional from the OpenAPI spec.

0 comments on commit f0886a0

Please sign in to comment.