Commit 75d1ef5
authored
Release/17.2.2 (#152)
fix: Use zod.guid() for output schema validation and fix marketplace.json
Umbraco returns non-RFC 4122 GUIDs (e.g. 0000003f-0000-0000-0000-000000000000).
Zod's uuid() rejects these, causing MCP SDK output validation failures.
- Add Orval afterAllFilesWrite hook to replace uuid() with guid() in generated schemas
- Use guid() in output schemas, keep uuid() in input schemas for strict validation
- Add tests: guid-not-uuid (generation check) and output-schema-umbraco-compat
(validates all 252 output schemas through SDK's actual validation pipeline)
- Fix marketplace.json: correct name (umb-cms-mcp), source path, and version
- Align plugin.json name and version with marketplace.json1 parent 15cad44 commit 75d1ef5
35 files changed
Lines changed: 1240 additions & 1057 deletions
File tree
- .claude-plugin
- .claude/skills/release
- plugins-server/.claude-plugin
- src/umb-management-api
- api
- temporary-file
- orval
- tools
- __tests__
- data-type/post
- dictionary/post
- document-type/post
- document
- post
- put
- media-type
- folders/post
- post
- media/post
- member-group/post
- member-type/post
- member/post
- template/post
- temporary-file/post
- user-data/post
- user-group/post
- webhook/post
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 14 | + | |
36 | 15 | | |
37 | 16 | | |
38 | | - | |
| 17 | + | |
39 | 18 | | |
40 | 19 | | |
41 | 20 | | |
42 | 21 | | |
43 | 22 | | |
44 | 23 | | |
45 | | - | |
| 24 | + | |
46 | 25 | | |
47 | 26 | | |
48 | 27 | | |
| |||
This file was deleted.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments