Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

docs(api): improve app endpoint deprecation description

peaklabs-devb02e64beda3b
diff --git a/app/Http/Controllers/Api/ApplicationsController.php b/app/Http/Controllers/Api/ApplicationsController.php
index 701c92d4d9..799a622db8 100644
--- a/app/Http/Controllers/Api/ApplicationsController.php
+++ b/app/Http/Controllers/Api/ApplicationsController.php
@@ -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,
diff --git a/openapi.json b/openapi.json
index 7bb1ff8f02..bd502865a4 100644
--- a/openapi.json
+++ b/openapi.json
@@ -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.",
diff --git a/openapi.yaml b/openapi.yaml
index 5d7adec32b..11148f43b1 100644
--- a/openapi.yaml
+++ b/openapi.yaml
@@ -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.'