@hey-api/openapi-ts 0.0.0-next-20260226002521 → 0.0.0-next-20260226232153

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.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { a as clientDefaultConfig, c as TypeScriptRenderer, d as reserved, f as keywords, l as TsDslContext, m as TsDsl, n as defaultPlugins, o as clientDefaultMeta, p as regexp, r as clientPluginHandler, s as $, u as ctx } from "./init-CTpyaR9a.mjs";
2
- import { a as defineConfig, c as createClient, i as defaultPaginationKeywords, n as OperationPath, o as definePluginConfig, r as OperationStrategy, s as utils, t as Logger } from "./src-Dx_lkE0m.mjs";
1
+ import { a as clientDefaultConfig, c as TypeScriptRenderer, d as reserved, f as keywords, l as TsDslContext, m as TsDsl, n as defaultPlugins, o as clientDefaultMeta, p as regexp, r as clientPluginHandler, s as $, u as ctx } from "./init-D4T-I44Z.mjs";
2
+ import { a as defineConfig, c as createClient, i as defaultPaginationKeywords, n as OperationPath, o as definePluginConfig, r as OperationStrategy, s as utils, t as Logger } from "./src-N5U1PUvp.mjs";
3
3
 
4
4
  export { $, Logger, OperationPath, OperationStrategy, TsDsl, TsDslContext, TypeScriptRenderer, clientDefaultConfig, clientDefaultMeta, clientPluginHandler, createClient, ctx, defaultPaginationKeywords, defaultPlugins, defineConfig, definePluginConfig, keywords, regexp, reserved, utils };
@@ -4401,7 +4401,7 @@ function getSignatureParameters({ operation }) {
4401
4401
  const property = properties[originalName];
4402
4402
  const name = conflicts.has(originalName) ? `${location}_${originalName}` : originalName;
4403
4403
  const signatureParameter = {
4404
- isRequired: property.required?.includes(originalName) ?? false,
4404
+ isRequired: operation.body.schema.required?.includes(originalName) ?? false,
4405
4405
  name,
4406
4406
  schema: property
4407
4407
  };
@@ -14119,4 +14119,4 @@ async function resolveJobs({ logger, userConfigs }) {
14119
14119
 
14120
14120
  //#endregion
14121
14121
  export { postProcessors as _, clientDefaultConfig as a, TypeScriptRenderer as c, reserved as d, keywords as f, getTypedConfig as g, getClientPlugin as h, generateClientBundle as i, TsDslContext as l, TsDsl as m, defaultPlugins as n, clientDefaultMeta as o, regexp as p, clientPluginHandler as r, $ as s, resolveJobs as t, ctx as u };
14122
- //# sourceMappingURL=init-CTpyaR9a.mjs.map
14122
+ //# sourceMappingURL=init-D4T-I44Z.mjs.map