migaloo-chain
migaloo-chain copied to clipboard
Hook up modules to swagger for prototyping
If you want to report a security issue, please follow our security policy: https://github.com/White-Whale-Defi-Platform/migaloo-chain/blob/main/SECURITY.md
Improvement description
On chains such as Terra with Swagger enabled; a REST API node can be deployed with an interactive swagger schema like so https://pisco-lcd.terra.dev/swagger/#/Query/Alliances This contains nearly all the APIs for different modules in Terra chain such as Alliance When navigating to a migaloo based swagger API it also shows as expected but the module/api call list is much much smaller.
Additional context
This could be due to some modules not being linked to swagger or these new modules not being included in the build but if possible would like to have all the modules returned same as Terra and others Right now we only see base cosmos module queries
Code sample
[code]
Screenshots