A typed REST client for the definitions from openapi-typegen
npm install @sebspark/openapi-client@sebspark/openapi-clientA typed REST client for the definitions from openapi-typegen
``zsh
yarn add @sebspark/openapi-client
``
or
`zsh
npm install @sebspark/openapi-client
``
`typescript
import { TypedClient } from '@sebspark/openapi-client'
import { MarketdataClient } from './schemas/marketdata'
const client = TypedClient)``
const {data} = await client.get('/markets')
Example can be found in @sebspark/openapi-e2e