openapi-fetch

v0.0.6
Ultra-fast fetching for TypeScript generated automatically from your OpenAPI schema. Weighs in at 1 kb and has virtually zero runtime. Works with React, Vue, Svelte, or vanilla JS.
openapi swagger rest api oapi_3 oapi_3_1 typescript fetch react and 3 more...

lint

npm run lint:js

test

npm run test:ts && npm run test:js

build

npm run build:clean && npm run build:ts

lint:js

npx prettier --check "{src,test}/**/*"

prepare

openapi-typescript test/v1.yaml -o test/v1.d.ts

test:js

vitest run

test:ts

tsc --noEmit

version

npm run prepare && npm run build

build:ts

tsc -p tsconfig.build.json

prepublish

npm run prepare && npm run build

build:clean

del dist

Metadata

  • MIT
  • Whatever
  • Drew Powers
  • released 4/6/2023

Downloads

Maintainers