Compare commits
3 Commits
e55ee7c11e
...
7d4473075f
Author | SHA1 | Date | |
---|---|---|---|
7d4473075f | |||
a9f561ae32 | |||
452f3a6fa7 |
@ -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 {
|
export default {
|
||||||
input: 'api.yml',
|
input: 'api.yml',
|
||||||
output: 'gen',
|
output: 'gen',
|
||||||
plugins: [
|
plugins: [
|
||||||
...defaultPlugins,
|
// ...defaultPlugins,
|
||||||
'@hey-api/client-fetch',
|
// '@hey-api/client-fetch',
|
||||||
{
|
{
|
||||||
enums: 'javascript',
|
enums: 'javascript',
|
||||||
name: '@hey-api/typescript',
|
name: '@hey-api/typescript',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user