mirror of
https://github.com/zoriya/elysia-swagger.git
synced 2025-12-18 13:55:10 +00:00
🔧 fix: reference model path
This commit is contained in:
@@ -180,6 +180,8 @@ export const registerSchemaPath = ({
|
||||
)
|
||||
}
|
||||
} else if (typeof responseSchema === 'string') {
|
||||
if(!(responseSchema in models)) return
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
const { type, properties, required, ...rest } = models[
|
||||
responseSchema
|
||||
|
||||
Reference in New Issue
Block a user