Skip to content

Commit

Permalink
fix: swagger add new modules to config (#419)
Browse files Browse the repository at this point in the history
- Each module need to be listed in the config to generate the data in
swagger
  • Loading branch information
RafilxTenfen authored Jan 17, 2025
1 parent f276552 commit cd2e006
Show file tree
Hide file tree
Showing 7 changed files with 10,657 additions and 2,429 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

- [#391](https://github.com/babylonlabs-io/babylon/pull/391) Fix e2e `TestBTCRewardsDistribution` flunky
check of rewards
- [#419](https://github.com/babylonlabs-io/babylon/pull/419) Add new modules to swagger config

### Bug fixes

Expand Down
17 changes: 17 additions & 0 deletions client/docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,23 @@
}
}
},
{
"url": "./tmp-swagger-gen/babylon/btcstaking/v1/query.swagger.json"
},
{
"url": "./tmp-swagger-gen/babylon/finality/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "FinalityParams"
}
}
},
{
"url": "./tmp-swagger-gen/babylon/mint/v1/query.swagger.json"
},
{
"url": "./tmp-swagger-gen/babylon/monitor/v1/query.swagger.json"
},
{
"url": "./tmp-swagger-gen/babylon/checkpointing/v1/query.swagger.json",
"operationIds": {
Expand Down
Loading

0 comments on commit cd2e006

Please sign in to comment.