Merged changes from Zackboe

* Using types from open api schema
* Changed api key to api read access token
This commit is contained in:
ltctceplrm 2026-01-14 15:48:20 +01:00
parent 471c24d34e
commit e8154bd381
6 changed files with 23141 additions and 264 deletions

View file

@ -12,6 +12,9 @@ async function fetchSchema() {
// https://github.com/internetarchive/openlibrary-api/blob/main/swagger.yaml
await $('bun openapi-typescript ./src/api/schemas/OpenLibrary.json -o ./src/api/schemas/OpenLibrary.ts');
// https://developer.themoviedb.org/openapi
await $('bun openapi-typescript https://developer.themoviedb.org/openapi/tmdb-api.json -o ./src/api/schemas/TMDB.ts');
}
await fetchSchema();