We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfe548a commit 0f7b489Copy full SHA for 0f7b489
example/basic.ts
@@ -1,10 +1,6 @@
1
import { Elysia } from "elysia"
2
-import { swagger } from "@elysiajs/swagger"
3
4
import { ip } from "../src"
5
-import { Server } from "bun"
6
-
7
-let server: Server | null
8
9
const app = new Elysia()
10
.use(swagger())
@@ -13,5 +9,3 @@ const app = new Elysia()
13
.listen(3000, () => {
14
console.log("🦊 Swagger is active at: http://localhost:3000/swagger")
15
11
})
16
17
-server = app.server
package.json
@@ -42,8 +42,5 @@
42
},
43
"peerDependencies": {
44
"elysia": ">= 1.0.9"
45
- },
46
- "dependencies": {
47
- "@elysiajs/swagger": "^1.0.5"
48
}
49
0 commit comments