Skip to content

Commit

Permalink
chore: run go generate
Browse files Browse the repository at this point in the history
  • Loading branch information
sundowndev committed Nov 4, 2020
1 parent d72be8a commit 07d8bc0
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 11 deletions.
16 changes: 12 additions & 4 deletions api/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,7 @@ var doc = `{
"type": "object",
"properties": {
"data": {
"type": "object",
"additionalProperties": {
"type": "string"
}
"$ref": "#/definitions/api.HealthCheckResponse"
}
}
}
Expand Down Expand Up @@ -431,6 +428,17 @@ var doc = `{
}
}
},
"api.HealthCheckResponse": {
"type": "object",
"properties": {
"commit": {
"type": "string"
},
"tag": {
"type": "string"
}
}
},
"api.UpdateMedia": {
"type": "object",
"required": [
Expand Down
16 changes: 12 additions & 4 deletions api/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@
"type": "object",
"properties": {
"data": {
"type": "object",
"additionalProperties": {
"type": "string"
}
"$ref": "#/definitions/api.HealthCheckResponse"
}
}
}
Expand Down Expand Up @@ -420,6 +417,17 @@
}
}
},
"api.HealthCheckResponse": {
"type": "object",
"properties": {
"commit": {
"type": "string"
},
"tag": {
"type": "string"
}
}
},
"api.UpdateMedia": {
"type": "object",
"required": [
Expand Down
11 changes: 8 additions & 3 deletions api/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ definitions:
required:
- title
type: object
api.HealthCheckResponse:
properties:
commit:
type: string
tag:
type: string
type: object
api.UpdateMedia:
properties:
title:
Expand Down Expand Up @@ -70,9 +77,7 @@ paths:
- $ref: '#/definitions/httputils.DataResponse'
- properties:
data:
additionalProperties:
type: string
type: object
$ref: '#/definitions/api.HealthCheckResponse'
type: object
summary: Check service status
tags:
Expand Down

0 comments on commit 07d8bc0

Please sign in to comment.