From d4e4316ff4235408b35494bc8eb803ebad7bf896 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 24 May 2024 13:47:57 +0000 Subject: [PATCH] Version Packages --- .changeset/lovely-carrots-train.md | 11 ----------- packages/typed-openapi/CHANGELOG.md | 12 ++++++++++++ packages/typed-openapi/package.json | 2 +- 3 files changed, 13 insertions(+), 12 deletions(-) delete mode 100644 .changeset/lovely-carrots-train.md diff --git a/.changeset/lovely-carrots-train.md b/.changeset/lovely-carrots-train.md deleted file mode 100644 index a56d791..0000000 --- a/.changeset/lovely-carrots-train.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"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. diff --git a/packages/typed-openapi/CHANGELOG.md b/packages/typed-openapi/CHANGELOG.md index 2ecbb03..c846e0b 100644 --- a/packages/typed-openapi/CHANGELOG.md +++ b/packages/typed-openapi/CHANGELOG.md @@ -1,5 +1,17 @@ # typed-openapi +## 0.5.0 + +### Minor Changes + +- f0886a0: 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.4.1 ### Patch Changes diff --git a/packages/typed-openapi/package.json b/packages/typed-openapi/package.json index e9b0e2e..5dbbc81 100644 --- a/packages/typed-openapi/package.json +++ b/packages/typed-openapi/package.json @@ -1,7 +1,7 @@ { "name": "typed-openapi", "type": "module", - "version": "0.4.1", + "version": "0.5.0", "main": "dist/index.cjs", "module": "dist/index.js", "bin": {