Skip to content

Commit f358295

Browse files
author
Tihomir Surdilovic
authored
Merge pull request #6 from tsurdilo/alignspec6
Spec alignment - integer type props
2 parents ab08738 + 32144fc commit f358295

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

api/src/main/resources/schema/retry/retry.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
"description": "Multiplier value by which interval increases during each attempt (ISO 8601 time format)"
1717
},
1818
"maxAttempts": {
19-
"type": "integer",
19+
"type": "string",
2020
"default": "0",
21-
"minimum": 0,
2221
"description": "Maximum number of retry attempts (1 by default). Value of 0 means no retries are performed"
2322
}
2423
},

api/src/main/resources/schema/states/parallelstate.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@
2424
"default": "and"
2525
},
2626
"n": {
27-
"type": "integer",
28-
"default": 0,
29-
"minimum": 0,
27+
"type": "string",
28+
"default": "0",
3029
"description": "Used when completionType is set to 'n_of_m' to specify the 'N' value"
3130
}
3231
},

0 commit comments

Comments
 (0)