mirror of
https://github.com/zoriya/elysia-swagger.git
synced 2025-12-06 08:46:10 +00:00
feat: exclude routes with details.hide: true from OpenAPI/swagger file
This commit is contained in:
@@ -118,7 +118,7 @@ export const registerSchemaPath = ({
|
||||
models: Record<string, TSchema>
|
||||
}) => {
|
||||
if (hook) hook = deepClone(hook)
|
||||
|
||||
|
||||
const contentType = hook?.type ?? [
|
||||
'application/json',
|
||||
'multipart/form-data',
|
||||
|
||||
Reference in New Issue
Block a user