We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0817c7 commit e6a48beCopy full SHA for e6a48be
src/index.ts
@@ -1,7 +1,7 @@
1
import { PluginOption } from 'vite'
2
import { generateApi, GenerateApiParams } from 'swagger-typescript-api'
3
4
-export type GenerateApiOption = Omit<GenerateApiParams, 'url' | 'spec'> | Omit<GenerateApiParams, 'input' | 'spec'> | Omit<GenerateApiParams, 'input' | 'url'>
+export type GenerateApiOption = GenerateApiParams
5
6
function vitePluginSwaggerTypescriptApi(option: GenerateApiOption): PluginOption {
7
if (!option) {
0 commit comments