White-Whale-Defi-Platform / migaloo-chain

Migaloo is a cosmwasm-powered, permissionless blockchain for building decentralized applications.
https://migaloo.zone
MIT License
53 stars 29 forks source link

Hook up modules to swagger for prototyping #144

Open 0xFable opened 1 year ago

0xFable commented 1 year ago

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 ``` ```
faddat commented 1 year ago

sounds good