feat: Tmdb request proxying and caching in backend

This commit is contained in:
Aleksi Lassila
2024-12-16 00:23:06 +02:00
parent a3866ada6b
commit fbe622e53f
23 changed files with 20837 additions and 59 deletions

View File

@@ -0,0 +1,13 @@
import { generateApi } from 'swagger-typescript-api';
import * as path from 'path';
console.log(path.join(require.main.path, '..', 'plugins'));
generateApi({
name: 'tmdb.v3.openapi.ts',
url: 'https://developer.themoviedb.org/openapi/64542913e1f86100738e227f', // https://developer.themoviedb.org/openapi
output: path.join(__dirname, '..', 'src', 'tmdb'),
// generateClient: true,
// generateRouteTypes: false,
// sortTypes: true,
httpClientType: 'axios',
});