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.
|
* @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(
|
#[OA\Post(
|
||||||
summary: 'Create (Docker Compose) (Deprecated)',
|
summary: 'Create (Docker Compose)',
|
||||||
description: 'Create new application based on a docker-compose file (without git).',
|
description: 'Deprecated: Use POST /api/v1/services instead.',
|
||||||
path: '/applications/dockercompose',
|
path: '/applications/dockercompose',
|
||||||
operationId: 'create-dockercompose-application',
|
operationId: 'create-dockercompose-application',
|
||||||
deprecated: true,
|
deprecated: true,
|
||||||
|
|||||||
@@ -2082,8 +2082,8 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
"Applications"
|
"Applications"
|
||||||
],
|
],
|
||||||
"summary": "Create (Docker Compose) (Deprecated)",
|
"summary": "Create (Docker Compose)",
|
||||||
"description": "Create new application based on a docker-compose file (without git).",
|
"description": "Deprecated: Use POST \/api\/v1\/services instead.",
|
||||||
"operationId": "create-dockercompose-application",
|
"operationId": "create-dockercompose-application",
|
||||||
"requestBody": {
|
"requestBody": {
|
||||||
"description": "Application object that needs to be created.",
|
"description": "Application object that needs to be created.",
|
||||||
|
|||||||
@@ -1329,8 +1329,8 @@ paths:
|
|||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
- Applications
|
- Applications
|
||||||
summary: 'Create (Docker Compose) (Deprecated)'
|
summary: 'Create (Docker Compose)'
|
||||||
description: 'Create new application based on a docker-compose file (without git).'
|
description: 'Deprecated: Use POST /api/v1/services instead.'
|
||||||
operationId: create-dockercompose-application
|
operationId: create-dockercompose-application
|
||||||
requestBody:
|
requestBody:
|
||||||
description: 'Application object that needs to be created.'
|
description: 'Application object that needs to be created.'
|
||||||
|
|||||||
Reference in New Issue
Block a user