Skip to content
This repository was archived by the owner on May 28, 2024. It is now read-only.
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
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.1</version>
<version>2.7.3</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>

Expand All @@ -24,17 +24,17 @@

<!-- Maven plugin dependencies -->
<maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
<maven-checkstyle.version>3.1.2</maven-checkstyle.version>
<flatten-maven-plugin.version>1.2.2</flatten-maven-plugin.version>
<maven-checkstyle.version>3.2.0</maven-checkstyle.version>
<flatten-maven-plugin.version>1.3.0</flatten-maven-plugin.version>
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
<checkstyle.version>10.3.1</checkstyle.version>
<checkstyle.version>10.3.3</checkstyle.version>
<prettier-maven-plugin.version>0.18</prettier-maven-plugin.version>
<prettier-java.version>1.6.2</prettier-java.version>
<openapi-generator-maven-plugin.version>5.2.1</openapi-generator-maven-plugin.version>
<swagger-annotations.version>1.6.2</swagger-annotations.version>

<!-- Spring dependencies -->
<spring-boot.version>2.7.1</spring-boot.version>
<spring-boot.version>2.7.3</spring-boot.version>

<!-- Application dependencies -->
<feign.version>11.7</feign.version>
Expand Down
31 changes: 28 additions & 3 deletions src/main/resources/openapi/specs/api.kuflow.com/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ paths:
post:
summary: Complete a Process
description: |
Complete a Process. The state of Process is setted to completed.
Complete a Process. The state of Process is set to 'completed'.

If you are already in this state, no action is taken.
operationId: actionsCompleteProcess
Expand All @@ -278,8 +278,8 @@ paths:
post:
summary: Cancel a Process
description: |
Cancel a Process. The state of Process is setted to canceled.
All the active tasks will be marked as canceled too.
Cancel a Process. The Process state is set to 'cancelled'.
All the active tasks will be marked as cancelled too.

If you are already in this state, no action is taken.
operationId: actionsCancelProcess
Expand Down Expand Up @@ -1365,6 +1365,10 @@ components:
$ref: "#/components/schemas/PrincipalType"
name:
type: string
user:
$ref: "#/components/schemas/PrincipalUser"
application:
$ref: "#/components/schemas/PrincipalApplication"
required:
- id
- type
Expand All @@ -1376,6 +1380,27 @@ components:
- APPLICATION
- SYSTEM

PrincipalUser:
type: object
properties:
id:
type: string
format: uuid
email:
type: string
required:
- id
- email

PrincipalApplication:
type: object
properties:
id:
type: string
format: uuid
required:
- id

DeleteElementCommand:
type: object
properties:
Expand Down