Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(application link): Application Link create/update in REST API #182

Merged
merged 1 commit into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions openapi/components/schemas/CreateApplicationRequest.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
type: object
properties:
link:
description: true for an application link, false for a legacy application
type: boolean
default: "false"
enum: [ true, false ]
description:
description: description of the application
type: string
Expand All @@ -16,6 +21,7 @@ properties:
description: version of the application
type: string
example:
link: "false"
version: "1.0"
profileId: "2"
token: "myapp"
Expand Down
4 changes: 2 additions & 2 deletions openapi/paths/API@[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ post:
summary: Create a living application
deprecated: true
description: |
Create a living applications
Create a living application (legacy application or application link).

Warning: as of 9.0.0, creating a living application using this API is deprecated.
operationId: createApplication
Expand All @@ -95,7 +95,7 @@ post:
content:
application/json:
schema:
$ref: '../components/schemas/LegacyApplication.yaml'
$ref: '../components/schemas/Application.yaml'
description: "Success "
'401':
$ref: '../components/responses/Unauthorized.yaml'
Expand Down
4 changes: 2 additions & 2 deletions openapi/paths/API@living@application@{id}.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ put:
summary: Update a living application by ID
deprecated: true
description: |
Update a single application for the given ID
Update a single application for the given ID (legacy application or application link).

Warning: as of 9.0.0, updating a living application using this API is deprecated.
operationId: updateApplicationById
Expand All @@ -91,7 +91,7 @@ put:
content:
application/json:
schema:
$ref: '../components/schemas/LegacyApplication.yaml'
$ref: '../components/schemas/Application.yaml'
description: "Success "
'401':
$ref: '../components/responses/Unauthorized.yaml'
Expand Down