Skip to content

Commit ee68bf4

Browse files
authored
Update swagger.md typo
Swagger plugin field key should be `documentation` instead of `swagger`: https://github.com/elysiajs/elysia-swagger/blob/8fa26e6a72e21b2ce6fbec37e9f8c93af791f296/src/index.ts#L19
1 parent ded7fca commit ee68bf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/plugins/swagger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ import { swagger } from '@elysiajs/swagger'
8686

8787
new Elysia()
8888
.use(swagger({
89-
swagger: {
89+
documentation: {
9090
info: {
9191
title: 'Elysia Documentation',
9292
version: '1.0.0'

0 commit comments

Comments
 (0)