Skip to content

Commit fcff80c

Browse files
committed
Allow version to only be a combination of a 1 or 2 digit number, or a 1 or 2 digit number followed by a decimal place and 1 digit
1 parent 634cd76 commit fcff80c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infrastructure/swagger/08_components--schemas--other.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ components:
33
schemas:
44
HeaderVersion:
55
type: string
6-
pattern: "^[1-9][0-9]*\\.?[0-9]+$"
6+
pattern: "^[1-9][0-9]?(\\.[0-9])?$"
77

88
HeaderRequestId:
99
type: string

0 commit comments

Comments
 (0)