Merged changes from Zackboe
* Using types from open api schema * Changed api key to api read access token
This commit is contained in:
parent
471c24d34e
commit
e8154bd381
6 changed files with 23141 additions and 264 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue