docs(api): improve app endpoint deprecation description
This commit is contained in:
parent
0a30e273c7
commit
b02e64beda
3 changed files with 6 additions and 6 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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.'
|
||||
|
|
|
|||
Loading…
Reference in a new issue