@webpieces/openapi-generator 0.4.880 → 0.4.882

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/README.md +4 -2
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -141,8 +141,10 @@ from any package, exactly as before, and require no components document anywhere
141
141
  does not declare `MCP` is an error. Membership has one spelling.
142
142
 
143
143
  The agent reads the SAME `description` a human does — the method's JSDoc, byte for byte. Two authored
144
- copies of one paragraph drift the first time somebody edits one, so `@WpMcpTool('search_stores')`
145
- carries only what JSDoc cannot say: the stable protocol name. `readOnlyHint`, `destructiveHint` and
144
+ copies of one paragraph drift the first time somebody edits one, so
145
+ `@WpMcpTool('search_stores', 'Search stores')` carries only what JSDoc cannot say: the stable protocol
146
+ name and the REQUIRED human-readable title, which each catalog entry carries as `title` and `tools/list`
147
+ publishes as `title` and `annotations.title` (#1180). `readOnlyHint`, `destructiveHint` and
146
148
  `idempotentHint` are computed from the endpoint's declared `operation`; `openWorldHint` comes from
147
149
  `{ openWorld: true }` on the endpoint.
148
150
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webpieces/openapi-generator",
3
- "version": "0.4.880",
3
+ "version": "0.4.882",
4
4
  "description": "Render an ApiDocModel to OpenAPI 3.1.0 — the canonical internal document and the customer-published one, JSON and YAML, from one generation pass. Ships the wp-openapi bin.",
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
@@ -23,8 +23,8 @@
23
23
  "access": "public"
24
24
  },
25
25
  "dependencies": {
26
- "@webpieces/api-doc-model": "0.4.880",
27
- "@webpieces/core-util": "0.4.880",
26
+ "@webpieces/api-doc-model": "0.4.882",
27
+ "@webpieces/core-util": "0.4.882",
28
28
  "typescript": "5.9.3"
29
29
  },
30
30
  "bin": {