0.1.0 • Published 10 months ago

valtown-openapi v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Val Town OpenApi

This package contains the openapi specs for the Val Town Api.

Usage

This package is supposed to be used in conjunction with a feTS client.

import { createClient, type NormalizeOAS } from "fets";
import type openapi from "valtown-openapi";

const client = createClient<NormalizeOAS<typeof openapi>>({});

const pomdtr = await client["/v1/alias/{username}"].get({
  params: {
    username: "pomdtr",
  },
});

const pets = await response.json();
console.log(pomdtr);
0.1.0

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago