mixins

Community

Turn OpenAPI specs into typed Vovk clients.

Authorfinom
Version1.0.0
Installs0

System Documentation

What problem does it solve?

OpenAPI mixins turn any OpenAPI 3.x specification into typed client modules that behave like native Vovk RPC modules, ensuring the generated surface matches runtime APIs and reduces drift between contracts and code.

Core Features & Use Cases

  • Declaring mixins under outputConfig.segments.*.openAPIMixin to generate segmented or composed clients.
  • Support for source variants (remote URL with fallback, local file, or inline object) and module/method naming strategies, including getModuleName and getMethodName.
  • Per-mixin fetcher customization, AJV tuning, and the Mixins namespace for standardized types across all mixins.
  • Tooling integration via deriveTools for function calling and createTool wrappers for MCP, plus examples of composing with existing OpenAPI schemas.

Quick Start

Declare a mixin in vovk.config.mjs and run npx vovk generate to emit the mixin alongside native modules.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: mixins
Download link: https://github.com/finom/vovk/archive/main.zip#mixins

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.