Public
HTTP (deprecated)
version 43
Readme

This val return an up-to-date typescript version of the val.town openapi spec for usage with a feTS client.

Usage

Deno script

import { createClient, type NormalizeOAS } from "npm:fets"; import openapi from "https://pomdtr-valtownOpenAPI.web.val.run/openapi.ts"; export const client = createClient<NormalizeOAS<typeof openapi>>({ endpoint: openapi.servers[0].url, });
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
pomdtr-valtownopenapi.web.val.run
October 23, 2023