Skip to content

Commit 624f3b1

Browse files
localai-botmudler
andauthored
feat(swagger): update swagger (#5950)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: mudler <[email protected]>
1 parent c07bc55 commit 624f3b1

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

swagger/docs.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,8 @@ const docTemplate = `{
11131113
"breakdown": {
11141114
"type": "object",
11151115
"additionalProperties": {
1116-
"type": "integer"
1116+
"type": "integer",
1117+
"format": "int64"
11171118
}
11181119
},
11191120
"total": {
@@ -1134,6 +1135,7 @@ const docTemplate = `{
11341135
},
11351136
"proto.StatusResponse_State": {
11361137
"type": "integer",
1138+
"format": "int32",
11371139
"enum": [
11381140
0,
11391141
1,

swagger/swagger.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,8 @@
11061106
"breakdown": {
11071107
"type": "object",
11081108
"additionalProperties": {
1109-
"type": "integer"
1109+
"type": "integer",
1110+
"format": "int64"
11101111
}
11111112
},
11121113
"total": {
@@ -1127,6 +1128,7 @@
11271128
},
11281129
"proto.StatusResponse_State": {
11291130
"type": "integer",
1131+
"format": "int32",
11301132
"enum": [
11311133
0,
11321134
1,

swagger/swagger.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ definitions:
212212
properties:
213213
breakdown:
214214
additionalProperties:
215+
format: int64
215216
type: integer
216217
type: object
217218
total:
@@ -230,6 +231,7 @@ definitions:
230231
- 1
231232
- 2
232233
- -1
234+
format: int32
233235
type: integer
234236
x-enum-varnames:
235237
- StatusResponse_UNINITIALIZED

0 commit comments

Comments
 (0)