journal.pl/openapi-config.ts
Primakov Alexandr Alexandrovich 52b60ed1f5 toggle exam
2024-08-29 08:10:03 +03:00

13 lines
331 B
TypeScript

import type { ConfigFile } from '@rtk-query/codegen-openapi'
const config: ConfigFile = {
schemaFile: 'https://platform.bro-js.ru/jrnl-bh/documentation/json',
apiFile: './src/__data__/api/api.ts',
apiImport: 'api',
outputFile: './src/__data__/api/jrnl.ts',
exportName: 'jrnlApi',
hooks: true,
}
export default config