Skip to content

Commit

Permalink
Fix: API docs (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky committed Jun 24, 2024
1 parent c5c3e22 commit dcc5fb9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion cmd/api/docs/swagger.json

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

1 change: 0 additions & 1 deletion cmd/api/handler/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ func (req *validatorsPagination) SetDefault() {
// @Param offset query integer false "Offset" mininum(1)
// @Param jailed query boolean false "Return only jailed validators"
// @Produce json
// @Produce json
// @Success 200 {array} responses.Validator
// @Failure 400 {object} Error
// @Failure 500 {object} Error
Expand Down
1 change: 1 addition & 0 deletions cmd/api/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ var rootCmd = &cobra.Command{
// @version 1.0
// @description This is docs of Celenium API.
// @host api.celenium.io
// @schemes https
// @BasePath /v1
//
// @query.collection.format multi
Expand Down

0 comments on commit dcc5fb9

Please sign in to comment.