Skip to content
Back to skills

Orpc Hey Api

ASecurity

Generate oRPC contracts from OpenAPI with Hey API or adapt a Hey API client.

  • 8 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 12, 2026
documentationgitapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned September 12, 2026

npx -y skills add ali-master/skills --skill orpc-hey-api --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Orpc Hey Api?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Orpc Hey Api
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ali-master-orpc-hey-api/badge)](https://www.skillsdirectory.com/skills/ali-master-orpc-hey-api)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: oRPC Hey API Integration
description: Generate oRPC contracts from OpenAPI with Hey API or adapt a Hey API client.
license: MIT
metadata:
  author: Ali Torki
  homepage: https://github.com/ali-master
  version: "1.0.0"
---

# Hey API Integration

[Hey API](https://heyapi.dev/) integrates two ways:

* Generate an oRPC contract from existing OpenAPI specification.
* Convert an existing Hey API client to an oRPC client.

> Integration is still unstable.

## Convert OpenAPI to an oRPC Contract

If you have an OpenAPI spec, use Hey API to generate an oRPC contract. See [OpenAPI to Contract](/docs/openapi/openapi-to-contract).

Use the generated contract to:

* Implement on your own server with [Implement Contract](/docs/contract-first/implement-contract).
* Create a type-safe client with [OpenAPILink](/docs/openapi/client/openapi-link).
* Use as a reference alongside [Define Contract](/docs/contract-first/define-contract).

## Convert a Hey API Client Directly to an oRPC Client

```ts
import { experimental_toORPCClient } from '@orpc/hey-api'
import * as sdk from 'src/client/sdk.gen'

export const client = experimental_toORPCClient(sdk)

const { body } = await client.listPlanets()
```

This client behaves like any standard oRPC server-side/client-side client.

### Error Handling

oRPC passes `throwOnError` to Hey API. If the Hey API client throws an error, oRPC forwards it as is.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.