Skip to content

Commit 4463f97

Browse files
committed
Updated the YearMonth schema to be correct format.
1 parent 17bd9b7 commit 4463f97

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

client/integration-tests/type-mapping/src/main/openapi/type-mappings-testing.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,22 @@ components:
3737
type: string
3838
format: uuid
3939
YearMonth:
40-
format: date-time
41-
type: string
42-
example: 2022-03-10T12:15:50
40+
type: object
41+
properties:
42+
year:
43+
format: int32
44+
type: integer
45+
month:
46+
format: int32
47+
type: integer
48+
prolepticMonth:
49+
format: int64
50+
type: integer
51+
monthValue:
52+
format: int32
53+
type: integer
54+
leapYear:
55+
type: boolean
4356

4457
MultipartRequestBody:
4558
type: object

0 commit comments

Comments
 (0)