mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-17 15:20:40 +00:00
docs(api): improve app endpoint deprecation description
This commit is contained in:
@@ -893,8 +893,8 @@ class ApplicationsController extends Controller
|
||||
* @deprecated Use POST /api/v1/services instead. This endpoint creates a Service, not an Application and is an unstable duplicate of POST /api/v1/services.
|
||||
*/
|
||||
#[OA\Post(
|
||||
summary: 'Create (Docker Compose) (Deprecated)',
|
||||
description: 'Create new application based on a docker-compose file (without git).',
|
||||
summary: 'Create (Docker Compose)',
|
||||
description: 'Deprecated: Use POST /api/v1/services instead.',
|
||||
path: '/applications/dockercompose',
|
||||
operationId: 'create-dockercompose-application',
|
||||
deprecated: true,
|
||||
|
||||
@@ -2082,8 +2082,8 @@
|
||||
"tags": [
|
||||
"Applications"
|
||||
],
|
||||
"summary": "Create (Docker Compose) (Deprecated)",
|
||||
"description": "Create new application based on a docker-compose file (without git).",
|
||||
"summary": "Create (Docker Compose)",
|
||||
"description": "Deprecated: Use POST \/api\/v1\/services instead.",
|
||||
"operationId": "create-dockercompose-application",
|
||||
"requestBody": {
|
||||
"description": "Application object that needs to be created.",
|
||||
|
||||
@@ -1329,8 +1329,8 @@ paths:
|
||||
post:
|
||||
tags:
|
||||
- Applications
|
||||
summary: 'Create (Docker Compose) (Deprecated)'
|
||||
description: 'Create new application based on a docker-compose file (without git).'
|
||||
summary: 'Create (Docker Compose)'
|
||||
description: 'Deprecated: Use POST /api/v1/services instead.'
|
||||
operationId: create-dockercompose-application
|
||||
requestBody:
|
||||
description: 'Application object that needs to be created.'
|
||||
|
||||
Reference in New Issue
Block a user