Skip to content

Commit 0b97b73

Browse files
committed
fix(tuto): adapt to fixed schema
1 parent 857b512 commit 0b97b73

1 file changed

Lines changed: 24 additions & 23 deletions

File tree

src/main/resources/schemas/tutorial/step-6-mcp.yml

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
naftiko: "1.0.0-alpha1"
23
info:
34
label: "Tutorial - Step 6 - MCP"
@@ -30,29 +31,29 @@ capability:
3031
- type: "array"
3132
mapping: "$.results"
3233
items:
33-
- type: "object"
34-
properties:
35-
name:
36-
type: "string"
37-
mapping: "$.properties.Name.title[0].text.content"
38-
company:
39-
type: "string"
40-
mapping: "$.properties.Company.rich_text[0].text.content"
41-
title:
42-
type: "string"
43-
mapping: "$.properties.Title.rich_text[0].text.content"
44-
location:
45-
type: "string"
46-
mapping: "$.properties.Location.rich_text[0].text.content"
47-
owner:
48-
type: "string"
49-
mapping: "$.properties.Owner.people[0].name"
50-
participation_status:
51-
type: "string"
52-
mapping: "$.properties.Participation Status.select.name"
53-
comments:
54-
type: "string"
55-
mapping: "$.properties.Comments.rich_text[0].text.content"
34+
type: "object"
35+
properties:
36+
name:
37+
type: "string"
38+
mapping: "$.properties.Name.title[0].text.content"
39+
company:
40+
type: "string"
41+
mapping: "$.properties.Company.rich_text[0].text.content"
42+
title:
43+
type: "string"
44+
mapping: "$.properties.Title.rich_text[0].text.content"
45+
location:
46+
type: "string"
47+
mapping: "$.properties.Location.rich_text[0].text.content"
48+
owner:
49+
type: "string"
50+
mapping: "$.properties.Owner.people[0].name"
51+
participation_status:
52+
type: "string"
53+
mapping: "$.properties.Participation Status.select.name"
54+
comments:
55+
type: "string"
56+
mapping: "$.properties.Comments.rich_text[0].text.content"
5657

5758
consumes:
5859
- type: "http"

0 commit comments

Comments
 (0)