We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf3725f commit fe1ee30Copy full SHA for fe1ee30
deno.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@deco/mcp",
3
- "version": "0.7.5",
+ "version": "0.7.6",
4
"exports": {
5
".": "./mod.ts",
6
"./http": "./mcp/http.ts"
mcp/utils.ts
@@ -32,8 +32,8 @@ export function dereferenceSchema(
32
const { $ref: _, ...originalMetadata } = schema;
33
34
const description =
35
- (originalMetadata.description ?? "") ||
36
- (referencedSchema.description ?? "");
+ (originalMetadata?.description ?? "") ||
+ (referencedSchema?.description ?? "");
37
38
// Merge the original metadata with the dereferenced schema
39
return {
0 commit comments