Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ var doc = `{
"name": "created_by",
"in": "body",
"schema": {
"type": "integer"
"type": "string"
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@
"name": "created_by",
"in": "body",
"schema": {
"type": "integer"
"type": "string"
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ paths:
in: body
name: created_by
schema:
type: integer
type: string
produces:
- application/json
responses:
Expand Down
2 changes: 1 addition & 1 deletion routers/api/v1/tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ type AddTagForm struct {
// @Produce json
// @Param name body string true "Name"
// @Param state body int false "State"
// @Param created_by body int false "CreatedBy"
// @Param created_by body string false "CreatedBy"
// @Success 200 {object} app.Response
// @Failure 500 {object} app.Response
// @Router /api/v1/tags [post]
Expand Down