oRPC OpenAPILink
Installation
SKILL.md
OpenAPILink
Enables communication with an OpenAPIHandler or any API following the OpenAPI Specification using HTTP/Fetch.
Installation
npm install @orpc/openapi-client@latest
Setup
import type { JsonifiedClient } from '@orpc/openapi-client'
import type { ContractRouterClient } from '@orpc/contract'
import { createORPCClient, onError } from '@orpc/client'
import { OpenAPILink } from '@orpc/openapi-client/fetch'