feat: exclude routes with details.hide: true from OpenAPI/swagger file

This commit is contained in:
Kravets
2024-08-02 17:44:10 +03:00
parent ca5bdfac02
commit 54c38a9085
4 changed files with 23 additions and 2 deletions

View File

@@ -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',