Skip to content

fix(orchestrator): remove date-time format from spec #1282

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

Merged
merged 1 commit into from
Feb 27, 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
Original file line number Diff line number Diff line change
Expand Up @@ -641,8 +641,7 @@ const OPENAPI = `
"$ref": "#/components/schemas/ProcessInstanceStatusDTO"
},
"started": {
"type": "string",
"format": "date-time"
"type": "string"
},
"duration": {
"type": "string"
Expand Down Expand Up @@ -786,12 +785,10 @@ const OPENAPI = `
},
"enter": {
"type": "string",
"format": "date-time",
"description": "Date when the node was entered"
},
"exit": {
"type": "string",
"format": "date-time",
"description": "Date when the node was exited (optional)"
},
"definitionId": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ export interface components {
name?: string;
workflow?: string;
status?: components['schemas']['ProcessInstanceStatusDTO'];
/** Format: date-time */
started?: string;
duration?: string;
category?: components['schemas']['WorkflowCategoryDTO'];
Expand Down Expand Up @@ -176,15 +175,9 @@ export interface components {
name?: string;
/** @description Node type */
type?: string;
/**
* Format: date-time
* @description Date when the node was entered
*/
/** @description Date when the node was entered */
enter?: string;
/**
* Format: date-time
* @description Date when the node was exited (optional)
*/
/** @description Date when the node was exited (optional) */
exit?: string;
/** @description Definition ID */
definitionId?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1192,15 +1192,15 @@ endif::internal-generation[]

| enter
|
| Date
| String
| Date when the node was entered
| date-time
|

| exit
|
| Date
| String
| Date when the node was exited (optional)
| date-time
|

| definitionId
|
Expand Down Expand Up @@ -1284,9 +1284,9 @@ endif::internal-generation[]

| started
|
| Date
| String
|
| date-time
|

| duration
|
Expand Down Expand Up @@ -1589,13 +1589,13 @@ Category of the workflow
|
| oas_any_type_not_mapped
| Date when the node was entered
| date-time
|

| exit
|
| oas_any_type_not_mapped
| Date when the node was exited (optional)
| date-time
|

| definitionId
|
Expand Down
3 changes: 0 additions & 3 deletions plugins/orchestrator-common/src/openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,6 @@ components:
$ref: '#/components/schemas/ProcessInstanceStatusDTO'
started:
type: string
format: date-time
duration:
type: string
category:
Expand Down Expand Up @@ -504,11 +503,9 @@ components:
description: Node type
enter:
type: string
format: date-time
description: Date when the node was entered
exit:
type: string
format: date-time
description: Date when the node was exited (optional)
definitionId:
type: string
Expand Down