mirror of
https://github.com/zoriya/elysia-swagger.git
synced 2025-12-06 00:36:10 +00:00
Update dependencies
This commit is contained in:
14
package.json
14
package.json
@@ -62,15 +62,15 @@
|
||||
"devDependencies": {
|
||||
"@apidevtools/swagger-parser": "^10.1.0",
|
||||
"@types/bun": "1.1.14",
|
||||
"elysia": ">= 1.2.0",
|
||||
"eslint": "9.6.0",
|
||||
"tsup": "^8.1.0",
|
||||
"typescript": "^5.5.3"
|
||||
"elysia": "^1.2.10",
|
||||
"eslint": "9.17.0",
|
||||
"tsup": "^8.3.5",
|
||||
"typescript": "^5.7.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@scalar/themes": "^0.9.52",
|
||||
"@scalar/types": "^0.0.12",
|
||||
"@scalar/themes": "^0.9.58",
|
||||
"@scalar/types": "^0.0.25",
|
||||
"openapi-types": "^12.1.3",
|
||||
"pathe": "^1.1.2"
|
||||
"pathe": "^2.0.0"
|
||||
}
|
||||
}
|
||||
@@ -15,7 +15,7 @@ import type { ElysiaSwaggerConfig } from './types'
|
||||
*
|
||||
* @see https://github.com/elysiajs/elysia-swagger
|
||||
*/
|
||||
export const swagger = async <Path extends string = '/swagger'>(
|
||||
export const swagger = <Path extends string = '/swagger'>(
|
||||
{
|
||||
provider = 'scalar',
|
||||
scalarVersion = 'latest',
|
||||
@@ -87,7 +87,6 @@ export const swagger = async <Path extends string = '/swagger'>(
|
||||
},
|
||||
...scalarConfig,
|
||||
// so we can showcase the elysia theme
|
||||
// @ts-expect-error
|
||||
_integration: 'elysiajs'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user