Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate typescript client from fastapi openapi.json #96

Merged
merged 1 commit into from
Oct 7, 2024
Merged

Commits on Sep 27, 2024

  1. Generate typescript client from fastapi openapi.json

    - add export.py script to backend to generate openapi.json
    - add generated openapi.json file
    - add autogenerated typescript fetch api client in src/lib/client using hey-api/openapi-ts
    - add hey-api/openapi-ts and hey-api/client-fetch to frontend deps
    - add openapi-ts to package.json scripts
    - add openapi-ts config file
    - run pnpm openapi-ts
    - automatically export openapi.json and generate openapi-ts client code in CI
    lkeegan committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    7692cd7 View commit details
    Browse the repository at this point in the history