Repository navigation
Commit 7bb70f6
fix(everything): declare get-header-params' nullable regionHeader with anyOf
The Inspector's schema-portability check warns on `type: ["string", "null"]`:
legal JSON Schema, but a client that maps tool schemas onto a single-`type`
dialect (the OpenAPI subset of Gemini function declarations) may reject the
tool or drop the constraint. regionHeader is now
`anyOf: [{ type: "string" }, { type: "null" }]`; null still validates.
Part of #4852
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: cliffhall <[email protected]>1 parent 2b830d4 commit 7bb70f6
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
58 | 62 | | |
59 | | - | |
| 63 | + | |
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
| |||
0 commit comments