mirror of
https://github.com/aleksilassila/reiverr.git
synced 2026-04-22 16:55:13 +02:00
feat: Backend implementation for source plugin usage and configuration
This commit is contained in:
13
backend/plugins/jellyfin.plugin/src/generate-openapi.ts
Normal file
13
backend/plugins/jellyfin.plugin/src/generate-openapi.ts
Normal 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: 'jellyfin.openapi.ts',
|
||||
url: 'https://api.jellyfin.org/openapi/jellyfin-openapi-stable.json',
|
||||
output: __dirname,
|
||||
// generateClient: true,
|
||||
// generateRouteTypes: false,
|
||||
// sortTypes: true,
|
||||
httpClientType: 'axios',
|
||||
});
|
||||
Reference in New Issue
Block a user