diff --git a/app/Http/Controllers/Api/ApplicationsController.php b/app/Http/Controllers/Api/ApplicationsController.php index 4dbc4e9a95..32334a16cf 100644 --- a/app/Http/Controllers/Api/ApplicationsController.php +++ b/app/Http/Controllers/Api/ApplicationsController.php @@ -418,7 +418,7 @@ class ApplicationsController extends Controller ], ), ], - 'watch_paths' => ['type' => 'string', 'description' => 'The watch paths.'], + 'watch_paths' => ['type' => 'string', 'description' => 'Watch path patterns, one per line (newline-separated). Commas do not separate patterns.'], 'use_build_server' => ['type' => 'boolean', 'nullable' => true, 'description' => 'Use build server.'], 'use_build_secrets' => ['type' => 'boolean', 'default' => false, 'description' => 'Use Docker Build Secrets for build-time environment variables.'], 'is_git_submodules_enabled' => ['type' => 'boolean', 'description' => 'Clone Git submodules.'], @@ -614,7 +614,7 @@ class ApplicationsController extends Controller ], ), ], - 'watch_paths' => ['type' => 'string', 'description' => 'The watch paths.'], + 'watch_paths' => ['type' => 'string', 'description' => 'Watch path patterns, one per line (newline-separated). Commas do not separate patterns.'], 'use_build_server' => ['type' => 'boolean', 'nullable' => true, 'description' => 'Use build server.'], 'use_build_secrets' => ['type' => 'boolean', 'default' => false, 'description' => 'Use Docker Build Secrets for build-time environment variables.'], 'is_git_submodules_enabled' => ['type' => 'boolean', 'description' => 'Clone Git submodules.'], @@ -810,7 +810,7 @@ class ApplicationsController extends Controller ], ), ], - 'watch_paths' => ['type' => 'string', 'description' => 'The watch paths.'], + 'watch_paths' => ['type' => 'string', 'description' => 'Watch path patterns, one per line (newline-separated). Commas do not separate patterns.'], 'use_build_server' => ['type' => 'boolean', 'nullable' => true, 'description' => 'Use build server.'], 'use_build_secrets' => ['type' => 'boolean', 'default' => false, 'description' => 'Use Docker Build Secrets for build-time environment variables.'], 'is_git_submodules_enabled' => ['type' => 'boolean', 'description' => 'Clone Git submodules.'], @@ -3134,7 +3134,7 @@ class ApplicationsController extends Controller ], ), ], - 'watch_paths' => ['type' => 'string', 'description' => 'The watch paths.'], + 'watch_paths' => ['type' => 'string', 'description' => 'Watch path patterns, one per line (newline-separated). Commas do not separate patterns.'], 'use_build_server' => ['type' => 'boolean', 'nullable' => true, 'description' => 'Use build server.'], 'use_build_secrets' => ['type' => 'boolean', 'description' => 'Use Docker Build Secrets for build-time environment variables.'], 'is_git_submodules_enabled' => ['type' => 'boolean', 'description' => 'Clone Git submodules.'], diff --git a/openapi.json b/openapi.json index d25e696bb5..4377d7f8de 100644 --- a/openapi.json +++ b/openapi.json @@ -846,7 +846,7 @@ }, "watch_paths": { "type": "string", - "description": "The watch paths." + "description": "Watch path patterns, one per line (newline-separated). Commas do not separate patterns." }, "use_build_server": { "type": "boolean", @@ -1442,7 +1442,7 @@ }, "watch_paths": { "type": "string", - "description": "The watch paths." + "description": "Watch path patterns, one per line (newline-separated). Commas do not separate patterns." }, "use_build_server": { "type": "boolean", @@ -2038,7 +2038,7 @@ }, "watch_paths": { "type": "string", - "description": "The watch paths." + "description": "Watch path patterns, one per line (newline-separated). Commas do not separate patterns." }, "use_build_server": { "type": "boolean", @@ -3701,7 +3701,7 @@ }, "watch_paths": { "type": "string", - "description": "The watch paths." + "description": "Watch path patterns, one per line (newline-separated). Commas do not separate patterns." }, "use_build_server": { "type": "boolean", diff --git a/openapi.yaml b/openapi.yaml index c28689096f..a3e7803460 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -542,7 +542,7 @@ paths: items: { properties: { name: { type: string, description: 'The service name as defined in docker-compose.' }, domain: { type: string, description: 'Comma-separated list of URLs (e.g. "https://app.coolify.io,https://app2.coolify.io")' }, redirect: { type: string, nullable: true, description: 'Per-service www/non-www redirect for this compose service.', enum: [www, non-www, both] } }, type: object } watch_paths: type: string - description: 'The watch paths.' + description: 'Watch path patterns, one per line (newline-separated). Commas do not separate patterns.' use_build_server: type: boolean nullable: true @@ -932,7 +932,7 @@ paths: items: { properties: { name: { type: string, description: 'The service name as defined in docker-compose.' }, domain: { type: string, description: 'Comma-separated list of URLs (e.g. "https://app.coolify.io,https://app2.coolify.io")' }, redirect: { type: string, nullable: true, description: 'Per-service www/non-www redirect for this compose service.', enum: [www, non-www, both] } }, type: object } watch_paths: type: string - description: 'The watch paths.' + description: 'Watch path patterns, one per line (newline-separated). Commas do not separate patterns.' use_build_server: type: boolean nullable: true @@ -1322,7 +1322,7 @@ paths: items: { properties: { name: { type: string, description: 'The service name as defined in docker-compose.' }, domain: { type: string, description: 'Comma-separated list of URLs (e.g. "https://app.coolify.io,https://app2.coolify.io")' }, redirect: { type: string, nullable: true, description: 'Per-service www/non-www redirect for this compose service.', enum: [www, non-www, both] } }, type: object } watch_paths: type: string - description: 'The watch paths.' + description: 'Watch path patterns, one per line (newline-separated). Commas do not separate patterns.' use_build_server: type: boolean nullable: true @@ -2430,7 +2430,7 @@ paths: items: { properties: { name: { type: string, description: 'The service name as defined in docker-compose.' }, domain: { type: string, description: 'Comma-separated list of URLs (e.g. "https://app.coolify.io,https://app2.coolify.io")' }, redirect: { type: string, nullable: true, description: 'Per-service www/non-www redirect for this compose service.', enum: [www, non-www, both] } }, type: object } watch_paths: type: string - description: 'The watch paths.' + description: 'Watch path patterns, one per line (newline-separated). Commas do not separate patterns.' use_build_server: type: boolean nullable: true diff --git a/resources/views/livewire/project/application/general.blade.php b/resources/views/livewire/project/application/general.blade.php index 611b3ea368..c2e9f500d5 100644 --- a/resources/views/livewire/project/application/general.blade.php +++ b/resources/views/livewire/project/application/general.blade.php @@ -210,7 +210,7 @@ @if ($this->application->is_github_based() && !$this->application->is_public_repository())