sscgen-rest
CommunityGenerate typed REST/JSON clients from KDL schemas.
Authorvypivshiy
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Designing a typed API client from raw REST/JSON traffic is slow and error-prone, especially when you must infer response shapes and handle HTTP error cases consistently.
Core Features & Use Cases
- Declarative REST/JSON schemas: define
(rest)structplusjsonresponse types for strongly typed parsing of HTTP results. - Endpoint-ready request blocks: generate
@requestdefinitions (raw HTTP or curl) with typed placeholders for query/path parameters. - Typed error handling: map HTTP statuses to
@error <status> <Schema> ...with key-presence and value-equality guards to avoid false positives.
Quick Start
Create a .kdl file that declares json response schemas and a (rest)struct containing @doc, at least one @request with response=<Schema>, and any relevant @error mappings for the statuses you want to discriminate.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: sscgen-rest Download link: https://github.com/vypivshiy/selector_schema_codegen/archive/main.zip#sscgen-rest Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.