resolve-api-to-query
OfficialCreate TS query param classes from OpenAPI specs.
Authorriease
Version1.0.0
Installs0
System Documentation
What problem does it solve?
OpenAPI specs are often large and complex; manually creating TypeScript QueryParameter classes is repetitive and error-prone. This skill automates the generation of a project-specific base class and per-endpoint subclasses in a single file, ensuring consistency across the API layer.
Core Features & Use Cases
- Generate a base QueryParameter class that supports common query params and a mechanism to include keyword-based filtering.
- Create endpoint-specific subclasses derived from the base class, with properties for endpoint query parameters, and sensible defaults for sorting.
- Produce a documentation note at doc/note/query.md outlining common and specific parameters for easy reference.
Quick Start
Run the generation script to create base and endpoint query parameter classes from your OpenAPI specs.
Dependency Matrix
Required Modules
lodashjs-yamlglob
Components
scripts
💻 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: resolve-api-to-query Download link: https://github.com/riease/vue-backend-template/archive/main.zip#resolve-api-to-query 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 223,000+ vetted skills library on demand.