init project
This commit is contained in:
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
declare module 'swagger-ui-react' {
|
||||
import type { ComponentType } from 'react'
|
||||
|
||||
type SwaggerRequest = {
|
||||
headers: Record<string, string>
|
||||
url?: string
|
||||
method?: string
|
||||
}
|
||||
|
||||
export interface SwaggerUIProps {
|
||||
url?: string
|
||||
docExpansion?: string
|
||||
defaultModelsExpandDepth?: number
|
||||
deepLinking?: boolean
|
||||
tryItOutEnabled?: boolean
|
||||
persistAuthorization?: boolean
|
||||
requestInterceptor?: (req: SwaggerRequest) => SwaggerRequest
|
||||
}
|
||||
|
||||
const SwaggerUI: ComponentType<SwaggerUIProps>
|
||||
export default SwaggerUI
|
||||
}
|
||||
Reference in New Issue
Block a user