Skip to content

Experimenting with Spot and OpenAPI client generators

Notifications You must be signed in to change notification settings

jacobe/spot-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spot-playground

Experimenting with Spot and OpenAPI client generators

Getting Started

The workflow is as follows:

  1. Implement a new endpoint in ./server.js
  2. Run npm run gen:spot-contract to generate/update a Spot contract containing endpoints and request/response definitions (stored in ./api.ts).
  3. Run npm run gen:openapi to generate an OpenAPI schema (api.yml) from the Spot contract.
  4. Run npm run gen:client to generate a TypeScript client library stored in ./client/

About

Experimenting with Spot and OpenAPI client generators

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published