We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1fd5cc commit acdd8deCopy full SHA for acdd8de
1 file changed
src/lib/server/api/index.ts
@@ -9,6 +9,7 @@ import { modelGroup } from "$api/routes/groups/models";
9
import { Elysia } from "elysia";
10
import { base } from "$app/paths";
11
import { swagger } from "@elysiajs/swagger";
12
+import { config } from "$lib/server/config";
13
14
const prefix = `${base}/api/v2` as unknown as "";
15
@@ -17,11 +18,12 @@ export const app = new Elysia({ prefix })
17
18
swagger({
19
documentation: {
20
info: {
- title: "Elysia Documentation",
21
- version: "1.0.0",
+ title: "chat-ui API",
22
+ version: config.PUBLIC_VERSION,
23
},
24
25
provider: "swagger-ui",
26
+ path: `swagger`,
27
})
28
)
29
.use(authPlugin)
0 commit comments