docs(api): improve app endpoint deprecation description

This commit is contained in:
peaklabs-dev
2026-01-16 18:24:12 +01:00
parent 0a30e273c7
commit b02e64beda
3 changed files with 6 additions and 6 deletions

View File

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

View File

@@ -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.",

View File

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