Skip to content

Commit

Permalink
docs: update api
Browse files Browse the repository at this point in the history
  • Loading branch information
peterxcli committed Feb 21, 2024
1 parent 1a06f83 commit 7b92f8c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
5 changes: 4 additions & 1 deletion docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,6 @@ const docTemplate = `{
"$ref": "#/definitions/gorm.DeletedAt"
},
"events": {
"description": "TODO: add more user info for line login and line message API identity",
"type": "array",
"items": {
"$ref": "#/definitions/bikefest_pkg_model.Event"
Expand All @@ -907,6 +906,10 @@ const docTemplate = `{
"name": {
"type": "string"
},
"picture_url": {
"description": "TODO: add more user info for line login and line message API identity",
"type": "string"
},
"updatedAt": {
"type": "string"
}
Expand Down
5 changes: 4 additions & 1 deletion docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,6 @@
"$ref": "#/definitions/gorm.DeletedAt"
},
"events": {
"description": "TODO: add more user info for line login and line message API identity",
"type": "array",
"items": {
"$ref": "#/definitions/bikefest_pkg_model.Event"
Expand All @@ -896,6 +895,10 @@
"name": {
"type": "string"
},
"picture_url": {
"description": "TODO: add more user info for line login and line message API identity",
"type": "string"
},
"updatedAt": {
"type": "string"
}
Expand Down
6 changes: 4 additions & 2 deletions docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,17 @@ definitions:
deletedAt:
$ref: '#/definitions/gorm.DeletedAt'
events:
description: 'TODO: add more user info for line login and line message API
identity'
items:
$ref: '#/definitions/bikefest_pkg_model.Event'
type: array
id:
type: string
name:
type: string
picture_url:
description: 'TODO: add more user info for line login and line message API
identity'
type: string
updatedAt:
type: string
type: object
Expand Down

0 comments on commit 7b92f8c

Please sign in to comment.