oRPC OpenAPI Specification

Generate OpenAPI 3.1.1 specifications from oRPC services using Zod, Valibot, or ArkType.

8|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/ali-master/skills --skill orpc-openapi-specification
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: oRPC OpenAPI Specification
Source: https://github.com/ali-master/skills/tree/main/skills/orpc-openapi-specification
Command: npx skills add https://github.com/ali-master/skills --skill orpc-openapi-specification

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @orpc/openapi, @orpc/zod, @orpc/valibot, @orpc/arktype, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Manages the creation of OpenAPI specifications for oRPC services, simplifying the documentation process for API endpoints.

Core Features & Use Cases

  • Automatic Spec Generation: Generates OpenAPI 3.1.1 specifications directly from oRPC project configurations.
  • Integration with Tools: Seamlessly integrates with Zod, Valibot, and ArkType for schema conversion.
  • Customization: Offers configuration options for customizing the generated specifications.
  • Use Case: For developers looking to create comprehensive API documentation quickly, without manually writing the specifications.

Quick Start

Generate an OpenAPI spec for your oRPC project by installing the required packages and using the OpenAPIGenerator from the @orpc/openapi library.

Frequently Asked Questions about oRPC OpenAPI Specification

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

FAQPage Schema
How do I generate OpenAPI specifications for oRPC services?

You can generate OpenAPI 3.1.1 specifications for oRPC services automatically by using the OpenAPIGenerator from the @orpc/openapi library, eliminating the need to manually write API documentation.

Does oRPC OpenAPI spec generation work with Zod, Valibot, and ArkType?

Yes, oRPC OpenAPI spec generation seamlessly integrates with Zod, Valibot, and ArkType libraries to handle schema conversion for your API endpoints during the documentation process.

What is the best way to document API endpoints without writing manual specifications?

The best way to document API endpoints without manual effort is using automatic OpenAPI 3.1.1 spec generation tools that derive documentation directly from your existing oRPC project configurations and schema definitions.

Can I customize the generated OpenAPI specifications for my oRPC project?

Yes, the OpenAPI generator offers configuration options that allow you to customize the generated OpenAPI 3.1.1 specifications to fit the specific documentation requirements of your oRPC services.

Why do I need schema conversion libraries to generate OpenAPI docs for oRPC?

Schema conversion libraries like Zod, Valibot, and ArkType are needed to translate your existing validation schemas into the standard OpenAPI 3.1.1 specification format required for API documentation.