Skip to content

Commit 3d72650

Browse files
committed
feat: add custom schema for int64
1 parent 2e9f9d6 commit 3d72650

27 files changed

+83
-5
lines changed

examples/tests/mapfields/openapi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ components:
4343
properties:
4444
id:
4545
type: string
46+
format: int64
4647
label:
4748
type: string
4849
GoogleProtobufAny:
@@ -91,6 +92,7 @@ components:
9192
properties:
9293
id:
9394
type: string
95+
format: int64
9496
label:
9597
type: string
9698
Status:

examples/tests/mapfields/openapi_default_response.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ components:
4343
properties:
4444
id:
4545
type: string
46+
format: int64
4647
label:
4748
type: string
4849
GoogleProtobufAny:
@@ -91,6 +92,7 @@ components:
9192
properties:
9293
id:
9394
type: string
95+
format: int64
9496
label:
9597
type: string
9698
Status:

examples/tests/mapfields/openapi_fq_schema_naming.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ components:
6767
properties:
6868
id:
6969
type: string
70+
format: int64
7071
label:
7172
type: string
7273
tests.mapfields.message.v1.Message:
@@ -107,6 +108,7 @@ components:
107108
properties:
108109
id:
109110
type: string
111+
format: int64
110112
label:
111113
type: string
112114
tags:

examples/tests/mapfields/openapi_json.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ components:
4343
properties:
4444
id:
4545
type: string
46+
format: int64
4647
label:
4748
type: string
4849
GoogleProtobufAny:
@@ -91,6 +92,7 @@ components:
9192
properties:
9293
id:
9394
type: string
95+
format: int64
9496
label:
9597
type: string
9698
Status:

examples/tests/mapfields/openapi_string_enum.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ components:
4343
properties:
4444
id:
4545
type: string
46+
format: int64
4647
label:
4748
type: string
4849
GoogleProtobufAny:
@@ -91,6 +92,7 @@ components:
9192
properties:
9293
id:
9394
type: string
95+
format: int64
9496
label:
9597
type: string
9698
Status:

examples/tests/noannotations/openapi.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ components:
5151
properties:
5252
id:
5353
type: string
54+
format: int64
5455
label:
5556
type: string
5657
Status:

examples/tests/noannotations/openapi_default_response.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ components:
5151
properties:
5252
id:
5353
type: string
54+
format: int64
5455
label:
5556
type: string
5657
Status:

examples/tests/noannotations/openapi_fq_schema_naming.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ components:
6767
properties:
6868
id:
6969
type: string
70+
format: int64
7071
label:
7172
type: string
7273
tags:

examples/tests/noannotations/openapi_json.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ components:
5151
properties:
5252
id:
5353
type: string
54+
format: int64
5455
label:
5556
type: string
5657
Status:

examples/tests/noannotations/openapi_string_enum.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ components:
5151
properties:
5252
id:
5353
type: string
54+
format: int64
5455
label:
5556
type: string
5657
Status:

0 commit comments

Comments
 (0)