Skip to content

Commit 07d8bc0

Browse files
committed
chore: run go generate
1 parent d72be8a commit 07d8bc0

File tree

3 files changed

+32
-11
lines changed

3 files changed

+32
-11
lines changed

api/docs/docs.go

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,7 @@ var doc = `{
5151
"type": "object",
5252
"properties": {
5353
"data": {
54-
"type": "object",
55-
"additionalProperties": {
56-
"type": "string"
57-
}
54+
"$ref": "#/definitions/api.HealthCheckResponse"
5855
}
5956
}
6057
}
@@ -431,6 +428,17 @@ var doc = `{
431428
}
432429
}
433430
},
431+
"api.HealthCheckResponse": {
432+
"type": "object",
433+
"properties": {
434+
"commit": {
435+
"type": "string"
436+
},
437+
"tag": {
438+
"type": "string"
439+
}
440+
}
441+
},
434442
"api.UpdateMedia": {
435443
"type": "object",
436444
"required": [

api/docs/swagger.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@
4040
"type": "object",
4141
"properties": {
4242
"data": {
43-
"type": "object",
44-
"additionalProperties": {
45-
"type": "string"
46-
}
43+
"$ref": "#/definitions/api.HealthCheckResponse"
4744
}
4845
}
4946
}
@@ -420,6 +417,17 @@
420417
}
421418
}
422419
},
420+
"api.HealthCheckResponse": {
421+
"type": "object",
422+
"properties": {
423+
"commit": {
424+
"type": "string"
425+
},
426+
"tag": {
427+
"type": "string"
428+
}
429+
}
430+
},
423431
"api.UpdateMedia": {
424432
"type": "object",
425433
"required": [

api/docs/swagger.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ definitions:
88
required:
99
- title
1010
type: object
11+
api.HealthCheckResponse:
12+
properties:
13+
commit:
14+
type: string
15+
tag:
16+
type: string
17+
type: object
1118
api.UpdateMedia:
1219
properties:
1320
title:
@@ -70,9 +77,7 @@ paths:
7077
- $ref: '#/definitions/httputils.DataResponse'
7178
- properties:
7279
data:
73-
additionalProperties:
74-
type: string
75-
type: object
80+
$ref: '#/definitions/api.HealthCheckResponse'
7681
type: object
7782
summary: Check service status
7883
tags:

0 commit comments

Comments
 (0)