-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feat/use_latest_redoc_cli
- Loading branch information
Showing
6 changed files
with
170 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
type: object | ||
properties: | ||
# advanced is in the children schemas to ensure it uses the correct constant value | ||
createdBy: | ||
description: Author user ID | ||
type: string | ||
maxLength: 250 | ||
pattern: '^[A-Za-z0-9\_\-\.]{0,250}$' | ||
creationDate: | ||
description: creation date of the application | ||
type: string | ||
description: | ||
description: description of the application | ||
type: string | ||
displayName: | ||
description: display name of the application | ||
type: string | ||
id: | ||
description: id of the application | ||
type: string | ||
maxLength: 250 | ||
pattern: '^[A-Za-z0-9\_\-\.]{0,250}$' | ||
lastUpdateDate: | ||
description: last update date of the application | ||
type: string | ||
profileId: | ||
description: profile authorized to access this application | ||
type: string | ||
maxLength: 250 | ||
pattern: '^[A-Za-z0-9\_\-\.]{0,250}$' | ||
token: | ||
description: token of the application used to build the application URL | ||
type: string | ||
updatedBy: | ||
description: Last updating user ID | ||
type: string | ||
version: | ||
description: version of the application | ||
type: string | ||
state: | ||
description: application state | ||
type: string | ||
enum: [ ACTIVATED, DEACTIVATED ] | ||
visibility: | ||
description: visibility of the Application. This value is purely indicative, changing it in the application object won't change the accessibility to the actual application. | ||
enum: [ ALL, TECHNICAL_USER, RESTRICTED ] | ||
x-enumDescriptions: | ||
ALL: Everyone can use the application | ||
TECHNICAL_USER: Only the technical user can use the application | ||
RESTRICTED: Access to the application is determined by the user profile | ||
editable: | ||
description: Indicates whether the application can be modified | ||
type: boolean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
title: Advanced application | ||
description: Contains the meta information of an advanced Bonita Living Application. | ||
allOf: | ||
- type: object | ||
properties: | ||
advanced: | ||
description: true for an advanced application | ||
type: boolean | ||
enum: [ true ] | ||
- $ref: ./AbstractApplication.yaml | ||
- type: object | ||
description: Contains the meta information of an advanced Bonita Living Application. | ||
example: | ||
id: "306" | ||
advanced: true | ||
creationDate: "1411548289900" | ||
icon: "" | ||
createdBy": "1" | ||
profileId: "2" | ||
description: "My advanced application description" | ||
token: "myadvapp" | ||
state: "ACTIVATED" | ||
displayName: "My advanced app" | ||
updatedBy: "1" | ||
visibility: "ALL" | ||
editable: true | ||
lastUpdateDate: "1411548289900" | ||
version: "1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,3 @@ | ||
type: object | ||
properties: | ||
createdBy: | ||
description: Author user ID | ||
type: string | ||
maxLength: 250 | ||
pattern: '^[A-Za-z0-9\_\-\.]{0,250}$' | ||
creationDate: | ||
description: creation date of the application | ||
type: string | ||
description: | ||
description: description of the application | ||
type: string | ||
displayName: | ||
description: display name of the application | ||
type: string | ||
homePageId: | ||
description: id of the application page used as the home page | ||
type: string | ||
maxLength: 250 | ||
pattern: '^[A-Za-z0-9\_\-\.]{0,250}$' | ||
id: | ||
description: id of the application | ||
type: string | ||
maxLength: 250 | ||
pattern: '^[A-Za-z0-9\_\-\.]{0,250}$' | ||
lastUpdateDate: | ||
description: last update date of the application | ||
type: string | ||
profileId: | ||
description: profile authorized to access this application | ||
type: string | ||
maxLength: 250 | ||
pattern: '^[A-Za-z0-9\_\-\.]{0,250}$' | ||
token: | ||
description: token of the application used to build the application URL | ||
type: string | ||
updatedBy: | ||
description: Last updating user ID | ||
type: string | ||
version: | ||
description: version of the application | ||
type: string | ||
example: | ||
id: "305" | ||
creationDate: "1411548289900" | ||
iconPath: "" | ||
createdBy": "1" | ||
profileId: "2" | ||
description: "My application description" | ||
token: "myapp" | ||
state: "DEACTIVATED" | ||
displayName: "My app" | ||
updatedBy: "1" | ||
lastUpdateDate: "1411548289900" | ||
version: "1.0" | ||
homePageId: "-1" | ||
oneOf: | ||
- $ref: ./AdvancedApplication.yaml | ||
- $ref: ./LegacyApplication.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
title: Legacy application | ||
description: Contains the meta information of a legacy Bonita Living Application. | ||
allOf: | ||
- type: object | ||
properties: | ||
advanced: | ||
description: false for a legacy application | ||
type: boolean | ||
enum: [ false ] | ||
- $ref: ./AbstractApplication.yaml | ||
- type: object | ||
description: Contains the meta information of a legacy Bonita Living Application. | ||
properties: | ||
homePageId: | ||
description: id of the application page used as the home page | ||
type: string | ||
maxLength: 250 | ||
pattern: '^[A-Za-z0-9\_\-\.]{0,250}$' | ||
layoutId: | ||
description: id of the layout used by the application | ||
type: string | ||
maxLength: 250 | ||
pattern: '^[A-Za-z0-9\_\-\.]{0,250}$' | ||
themeId: | ||
description: id of the theme used by the application | ||
type: string | ||
maxLength: 250 | ||
pattern: '^[A-Za-z0-9\_\-\.]{0,250}$' | ||
example: | ||
id: "305" | ||
advanced: false | ||
creationDate: "1411548289900" | ||
icon: "" | ||
createdBy": "1" | ||
profileId: "2" | ||
description: "My application description" | ||
token: "myapp" | ||
state: "DEACTIVATED" | ||
displayName: "My app" | ||
updatedBy: "1" | ||
visibility: "ALL" | ||
editable: true | ||
lastUpdateDate: "1411548289900" | ||
version: "1.0" | ||
homePageId: "26" | ||
themeId: "1" | ||
layoutId: "3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters