Skip to content

Commit

Permalink
Fix: api docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky committed Dec 5, 2024
1 parent 2882b67 commit 7eed35c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions cmd/api/docs/docs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions cmd/api/docs/swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions cmd/api/docs/swagger.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions cmd/api/handler/address.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,15 +186,15 @@ func (p *addressTxRequest) SetDefault() {
// @Description Get address transactions
// @Tags address
// @ID address-transactions
// @Param hash path string true "Hash" minlength(48) maxlength(48)
// @Param limit query integer false "Count of requested entities" minimum(1) maximum(100)
// @Param offset query integer false "Offset" minimum(1)
// @Param sort query string false "Sort order" Enums(asc, desc)
// @Param status query types.Status false "Comma-separated status list"
// @Param msg_type query types.ActionType false "Comma-separated message types list"
// @Param from query integer false "Time from in unix timestamp" minimum(1)
// @Param to query integer false "Time to in unix timestamp" minimum(1)
// @Param height query integer false "Block number" minimum(1)
// @Param hash path string true "Hash" minlength(48) maxlength(48)
// @Param limit query integer false "Count of requested entities" minimum(1) maximum(100)
// @Param offset query integer false "Offset" minimum(1)
// @Param sort query string false "Sort order" Enums(asc, desc)
// @Param status query types.Status false "Comma-separated status list"
// @Param action_types query types.ActionType false "Comma-separated action types list"
// @Param from query integer false "Time from in unix timestamp" minimum(1)
// @Param to query integer false "Time to in unix timestamp" minimum(1)
// @Param height query integer false "Block number" minimum(1)
// @Produce json
// @Success 200 {array} responses.Tx
// @Failure 400 {object} Error
Expand Down

0 comments on commit 7eed35c

Please sign in to comment.