mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
perf: Lazy-load public-api dependencies to reduce baseline memory usage (#5049)
* refactor: Load swagger and openapi dependencies conditionally * disable public api in tests to reduce heal usage * update the link and text in SettingsApiView when swagger ui is disabled
This commit is contained in:
committed by
GitHub
parent
b828cb31d6
commit
a455cce7e6
@@ -637,6 +637,14 @@ export const schema = {
|
||||
env: 'N8N_PUBLIC_API_ENDPOINT',
|
||||
doc: 'Path for the public api endpoints',
|
||||
},
|
||||
swaggerUi: {
|
||||
disabled: {
|
||||
format: Boolean,
|
||||
default: false,
|
||||
env: 'N8N_PUBLIC_API_SWAGGERUI_DISABLED',
|
||||
doc: 'Whether to disable the Swagger UI for the Public API',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
workflowTagsDisabled: {
|
||||
|
||||
Reference in New Issue
Block a user