You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-ups from the first #845 deliverable (#860). In that PR, request.body.schema became a bounded JSON Schema 2020-12 profile validated by Ajv. Each item below is observed and not yet designed.
Private vocabularies remain. The store and forms schema vocabularies are still URLCode's own. Decide whether to move them onto the profile or onto Standard Schema at trusted boundaries.
No OpenAPI 3.1 export. Needed: export plus independent validation of the output, a generated client, and one contract-testing run.
One source schema across HTTP, MCP and forms. MCP input and output schemas now share the profile, but a single source schema does not yet inform HTTP, a declared MCP operation and a form. SDK-provided validators are not yet evaluated.
422 reports only the first failure. This is intentional (allErrors: false on untrusted input). Multi-issue feedback would need a bounded design.
Body rules are per route.request.body.required is per route, so GET and POST on one path cannot have different body rules.
Only format: uuid. Formats such as email and date-time need a format library (for example ajv-formats) and a decision.
workerd parity is manual. The run is off CI, needs the network, and has only been run on macOS arm64.
Ajv strict-mode refusals are raw. They surface as a truncated "refused by the JSON Schema 2020-12 validator" message rather than the profile's pointer diagnostics.
Unsupported: response schemas and default application.
Activity
feat(core)!: key request.body by HTTP method (#861, #845) (#870)
feat(core): pointed body schema diagnostics for Ajv strict-mode refus…
fix(scripts): build before workerd parity, send GET/HEAD bodies raw, …
feat(core): urlcode openapi exports an OpenAPI 3.1 document (#845, #861)
feat(core): standard string formats in the body schema profile (#861 …
Export an OpenAPI 3.1 description of the project's HTTP operations (#845
feat(store,core)!: JSON Schema 2020-12 record schemas and extension O…