This commit is contained in:
parent
e55ee7c11e
commit
30005a4818
@ -1,8 +0,0 @@
|
||||
import { client } from '../../../types/gen/client.gen';
|
||||
import { getToken } from '../Utils';
|
||||
|
||||
client.setConfig({
|
||||
auth: () => getToken(),
|
||||
});
|
||||
|
||||
export default client
|
@ -1,11 +1,11 @@
|
||||
import { defaultPlugins } from '@hey-api/openapi-ts';
|
||||
// import { defaultPlugins } from '@hey-api/openapi-ts';
|
||||
|
||||
export default {
|
||||
input: 'api.yml',
|
||||
output: 'gen',
|
||||
plugins: [
|
||||
...defaultPlugins,
|
||||
'@hey-api/client-fetch',
|
||||
// ...defaultPlugins,
|
||||
// '@hey-api/client-fetch',
|
||||
{
|
||||
enums: 'javascript',
|
||||
name: '@hey-api/typescript',
|
||||
|
Loading…
x
Reference in New Issue
Block a user