Skip to content

fbjorn/openapi-to-typescript-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openapi-to-typescript-example

Example project to show TS code generation from an OpenAPI spec

Installation and usage

Backend

cd backend
python -m virtualenv .venv && source .venv/bin/activate  # recommended
pip install

uvicorn backend:app --reload

Frontend

cd frontend
yarn install
yarn dev

Generate Typescript Client

# 1. Run backend

# 2. Execute:
yarn make-api

About

Example project to show TS code generation from an OpenAPI spec

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published