Skip to content

Commit 364ec57

Browse files
committed
📘 doc: simplify doc
1 parent ef764db commit 364ec57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Elysia, t } from 'elysia'
22
import { openapi, withHeaders } from '../src/index'
33
import { fromTypes } from '../src/gen'
44

5-
export const app = new Elysia()
5+
export const app = new Elysia({ prefix: '/id' })
66
.use(
77
openapi({
88
references: fromTypes('example/gen.ts', {

0 commit comments

Comments
 (0)