Skip to content

Commit f0886a0

Browse files
committed
chore: add changeset
1 parent 90d54b9 commit f0886a0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.changeset/lovely-carrots-train.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
"typed-openapi": minor
3+
---
4+
5+
Thanks to @0237h:
6+
7+
Allow for finer marking of optional parameters Current behavior allows only for marking _all_ parameters as optional, or
8+
none.
9+
10+
This change checks first if all parameters are optional, keeping the old behavior if that's the case, otherwise iterates
11+
through the parameters to mark only those that **should** be optional from the OpenAPI spec.

0 commit comments

Comments
 (0)