@elysiajs/swagger
Advanced tools
Comparing version 0.7.0 to 0.7.1
import { type Elysia } from 'elysia'; | ||
import type { ElysiaSwaggerConfig } from './types'; | ||
export declare const swagger: <Path extends string = "/swagger">({ documentation, version, excludeStaticFile, path, exclude }?: ElysiaSwaggerConfig<Path>) => (app: Elysia<any, any, any, any, any, any>) => Elysia<any, any, any, any, any, any>; | ||
export declare const swagger: <Path extends string = "/swagger">({ documentation, version, excludeStaticFile, path, exclude }?: ElysiaSwaggerConfig<Path>) => (app: Elysia) => Elysia<"", { | ||
request: {}; | ||
store: {}; | ||
}, { | ||
type: {}; | ||
error: {}; | ||
}, {}, {}, false>; | ||
export default swagger; |
import { type Elysia } from 'elysia'; | ||
import type { ElysiaSwaggerConfig } from './types'; | ||
export declare const swagger: <Path extends string = "/swagger">({ documentation, version, excludeStaticFile, path, exclude }?: ElysiaSwaggerConfig<Path>) => (app: Elysia<any, any, any, any, any, any>) => Elysia<any, any, any, any, any, any>; | ||
export declare const swagger: <Path extends string = "/swagger">({ documentation, version, excludeStaticFile, path, exclude }?: ElysiaSwaggerConfig<Path>) => (app: Elysia) => Elysia<"", { | ||
request: {}; | ||
store: {}; | ||
}, { | ||
type: {}; | ||
error: {}; | ||
}, {}, {}, false>; | ||
export default swagger; |
{ | ||
"name": "@elysiajs/swagger", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"description": "Plugin for Elysia to auto-generate Swagger page", | ||
@@ -50,4 +50,5 @@ "author": { | ||
"@types/lodash.clonedeep": "^4.5.7", | ||
"lodash.clonedeep": "^4.5.0" | ||
"lodash.clonedeep": "^4.5.0", | ||
"openapi-types": "^12.1.3" | ||
} | ||
} | ||
} |
@@ -29,3 +29,3 @@ import { type Elysia, type InternalRoute } from 'elysia' | ||
) => | ||
(app: Elysia<any, any, any, any, any, any>) => { | ||
(app: Elysia) => { | ||
const schema = {} | ||
@@ -32,0 +32,0 @@ let totalRoutes = 0 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42895
1084
4
+ Addedopenapi-types@^12.1.3