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
No known key found for this signature in database
3 changed files with 6 additions and 6 deletions

View file

@ -893,8 +893,8 @@ public function create_dockerimage_application(Request $request)
* @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,

View file

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

View file

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