mirror of
https://github.com/zoriya/elysia-swagger.git
synced 2026-06-05 23:01:57 +00:00
feat: Merge custom components into Swagger spec
This commit is contained in:
+1
-1
@@ -113,7 +113,7 @@ export const swagger =
|
||||
exclude: Array.isArray(exclude) ? exclude : [exclude]
|
||||
}),
|
||||
components: {
|
||||
schemas: app.meta.defs
|
||||
...documentation.components
|
||||
}
|
||||
} satisfies OpenAPIV3.Document
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user