🎉 feat: rebrand to elysia

This commit is contained in:
saltyaom
2022-12-04 21:03:16 +07:00
parent dff11c3c00
commit 3b091d5200
6 changed files with 26 additions and 28 deletions

View File

@@ -1,9 +1,8 @@
import { KingWorld, t } from 'kingworld'
// ? @kingworldjs/schema
import { Elysia, t } from 'elysia'
import swagger from '../src/index'
const app = new KingWorld()
.use(swagger)
const app = new Elysia()
.use(swagger())
.get('/', () => 'hi')
.get('/unpath/:id', ({ params: { id } }) => id)
.post(