@pikku/openapi-parser 0.12.24 → 0.12.25
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/codegen.js +3 -0
- package/package.json +1 -1
package/dist/codegen.js
CHANGED
|
@@ -667,6 +667,9 @@ function generateFunctionFile(named, parsed, vars, ctx, spec, flags, inlineSchem
|
|
|
667
667
|
if (flags.mcp) {
|
|
668
668
|
funcConfig.push(' mcp: true,');
|
|
669
669
|
}
|
|
670
|
+
// Eligible for a host's `wireAddon({ expose })` list, which decides what is
|
|
671
|
+
// actually reachable; without this no list could open an operation.
|
|
672
|
+
funcConfig.push(' expose: true,');
|
|
670
673
|
// Bug 3: Avoid duplicate identifier when camelName is 'data' (TS2300)
|
|
671
674
|
const inputParamName = camelName === 'data' ? 'inputData' : 'data';
|
|
672
675
|
const funcParams = hasInput
|