regenerate-client

Community

Regenerate the OpenAPI client safely and reliably

Authordougborg
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It solves the problem of keeping an OpenAPI-generated client in sync with a changing live StockTrim API specification, without introducing drift or brittle manual edits.

Core Features & Use Cases

  • Full regeneration pipeline: Regenerates the entire client from the live Swagger spec rather than doing partial, file-by-file updates.
  • Validation and quality gates: Runs spec validation and project checks (including ruff-based fixes) before anything is committed.
  • Safe override mechanism for nullable fields: Applies NULLABLE_FIELDS fixes via scripts/regenerate_client.py instead of editing generated code.
  • Git workflow guardrails: Enforces feature-branch usage and commits only after tests/checks pass, supporting downstream helper/service updates after renames.

Quick Start

Tell your AI to regenerate the StockTrim OpenAPI client by running the full pipeline and committing the validated result on a feature branch.

Dependency Matrix

Required Modules

None required

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: regenerate-client
Download link: https://github.com/dougborg/stocktrim-openapi-client/archive/main.zip#regenerate-client

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.