feat: add toJsonSchema export for OpenAPI generation - #18
Merged
Conversation
Attach predicate metadata across built-in validators so callspec can derive JSON Schema for docs, MCP tools, and OpenAPI specs.
mhweiner
added a commit
to logfoxai/callspec
that referenced
this pull request
Jul 28, 2026
Registry-first HTTP RPC with OpenAPI generation, callsheet docs UI, MCP tools, and a fetch-only typed client. Depends on runtyp@2.5.0 (toJsonSchema — see logfoxai/runtyp#18).
3 tasks
mhweiner
added a commit
to logfoxai/callspec
that referenced
this pull request
Jul 28, 2026
* feat: initial callspec release — registry RPC, docs UI, MCP, client Registry-first HTTP RPC with OpenAPI generation, callsheet docs UI, MCP tools, and a fetch-only typed client. Depends on runtyp@2.5.0 (toJsonSchema — see logfoxai/runtyp#18). * ci: install runtyp@2.5.0 from source until published on npm * ci: drop Node 18 (vite 8 requires Node 20+) * fix: polish callsheet home, MCP connect, and sidebar branding Add Chirp demo branding assets, MCP client connect panel with copy configs, sidebar logo mark, and link to MCP-filtered routes instead of an inline tool list. Fix home-page logo sizing with inline-block brand marks. * chore: reject file: deps in package.json * test: cover Chirp demo OpenAPI generation in CI Assert emitOpenApi converts the chirp-demo registry runtyp preds to JSON Schema (route count, searchRecent range, nested createTweet poll fields). * fix: flatten MCP panel and improve theme toggle icon Full-bleed client tabs in one card (no nested boxes). Replace Unicode sun/moon with thin-stroke inline SVGs sized and centered in the toggle. --------- Co-authored-by: Marc Weiner <mhweiner234@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
toJsonSchema()and predicate metadata (predMeta) so runtyp validators can be converted to JSON SchemaTest plan
npm run validatelocally