@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.
Files changed (2) hide show
  1. package/dist/codegen.js +3 -0
  2. 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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pikku/openapi-parser",
3
- "version": "0.12.24",
3
+ "version": "0.12.25",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/pikkujs/pikku.git",