update scalar config to use @scalar/types

This commit is contained in:
inyourtime
2024-10-03 10:01:58 +07:00
parent d5f8713b81
commit 6efc3fa642
8 changed files with 6 additions and 1028 deletions
+1 -4
View File
@@ -1,7 +1,5 @@
import { Elysia, InternalRoute } from 'elysia'
import { Elysia } from 'elysia'
import { swagger } from '../src/index'
import { plugin } from './plugin'
import { registerSchemaPath } from '../src/utils'
const app = new Elysia()
.use(
@@ -39,6 +37,5 @@ const app = new Elysia()
}
})
)
// .use(plugin)
.get('/id/:id?', 'a')
.listen(3000)