@xano/developer-mcp 1.0.13 → 1.0.14
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/api_docs/format.js +5 -2
- package/package.json +1 -1
package/dist/api_docs/format.js
CHANGED
|
@@ -121,10 +121,13 @@ export function formatDocumentation(doc, detailLevel = "detailed", includeSchema
|
|
|
121
121
|
sections.push("## AI Usage Hints");
|
|
122
122
|
sections.push(doc.ai_hints);
|
|
123
123
|
}
|
|
124
|
-
//
|
|
125
|
-
if (doc.endpoints?.length) {
|
|
124
|
+
// Include base URL info if topic has endpoints or patterns (workflows)
|
|
125
|
+
if (doc.endpoints?.length || doc.patterns?.length) {
|
|
126
126
|
sections.push("");
|
|
127
127
|
sections.push(BASE_URL_INFO);
|
|
128
|
+
}
|
|
129
|
+
// Endpoints
|
|
130
|
+
if (doc.endpoints?.length) {
|
|
128
131
|
sections.push("## Endpoints");
|
|
129
132
|
for (const ep of doc.endpoints) {
|
|
130
133
|
sections.push("");
|