vue-openapi-direct-codegen

Generate Vue 3/TypeScript frontend artifacts from OpenAPI schemas.

1|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/bmslabs/bmlabs-projects-templates --skill vue-openapi-direct-codegen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vue-openapi-direct-codegen
Source: https://github.com/bmslabs/bmlabs-projects-templates/tree/main/view-vuejs/.github/skills/vue-openapi-direct-codegen
Command: npx skills add https://github.com/bmslabs/bmlabs-projects-templates --skill vue-openapi-direct-codegen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generating frontend artifacts from OpenAPI schemas is tedious and error-prone; this skill standardizes the process to minimize manual rework and ensure consistency across Vue/TypeScript code.

Core Features & Use Cases

  • Generates TypeScript types from OpenAPI schemas (entity.types.ts)
  • Creates Zod validators for entities (entity.validator.ts)
  • Produces static API services and composables (entity.service.ts, useEntity.ts)
  • Generates Vue CRUD views and modals for rapid UI scaffolding
  • Use Case: bootstrap a Vue 3 + TS admin interface from an OpenAPI spec with minimal manual configuration

Quick Start

Run the OpenAPI-to-Vue codegen workflow against your swagger.json to generate the full frontend scaffold.

Frequently Asked Questions about vue-openapi-direct-codegen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Vue 3 and TypeScript code from an OpenAPI schema?

To generate Vue 3 and TypeScript code from an OpenAPI schema, you run a codegen workflow against your swagger.json. This produces ready-to-use frontend artifacts including TypeScript types, Zod validators, API services, and Vue CRUD views.

What is OpenAPI-driven codegen for a Vue and TypeScript frontend?

OpenAPI-driven codegen for a Vue and TypeScript frontend is the process of transforming API schemas into standardized application code. It creates strictly typed entities, validation schemas, and UI scaffolds to minimize manual rework and ensure API consistency.

Can I generate Zod validators and Pinia stores from an OpenAPI spec?

Yes, you can generate Zod validators and Pinia-compatible composables from an OpenAPI spec. The codegen outputs entity validator files and service composables that enforce runtime validation and state management within your Vue 3 application.

Does OpenAPI codegen work with Vue 3 and TypeScript for rapid UI scaffolding?

Yes, OpenAPI codegen works with Vue 3 and TypeScript to produce rapid UI scaffolding. It generates Vue CRUD views and modals from your API definitions, allowing you to bootstrap a typed admin interface with minimal manual configuration.

What is the best way to bootstrap a Vue admin interface from a swagger.json file?

The best way to bootstrap a Vue admin interface from a swagger.json file is using a guided OpenAPI codegen workflow. It scaffolds TypeScript types, API services, and CRUD views, ensuring end-to-end frontend development with strict typing and consistent API usage.