@kubb/plugin-client 5.11.0 → 5.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -191,7 +191,7 @@ function getRequestGroupOptionality(node) {
|
|
|
191
191
|
hasRequiredPath,
|
|
192
192
|
hasRequiredQuery,
|
|
193
193
|
hasRequiredHeader,
|
|
194
|
-
isOptional: !hasRequiredPath && !hasRequiredQuery && !hasRequiredHeader && !groups.body
|
|
194
|
+
isOptional: !hasRequiredPath && !hasRequiredQuery && !hasRequiredHeader && !(groups.body && node.requestBody?.required === true)
|
|
195
195
|
};
|
|
196
196
|
}
|
|
197
197
|
function buildOperationComments(node, options = {}) {
|
|
@@ -482,7 +482,7 @@ var compatibility = {
|
|
|
482
482
|
"node": ">=22.22"
|
|
483
483
|
};
|
|
484
484
|
// package.json
|
|
485
|
-
var version = "5.11.
|
|
485
|
+
var version = "5.11.1";
|
|
486
486
|
// ../../internals/client/src/builders/validatorOptions.ts
|
|
487
487
|
/**
|
|
488
488
|
* Returns `true` when any direction of the validator uses zod (used for dependency checks).
|