Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hook up modules to swagger for prototyping #144

Open
0xFable opened this issue Apr 12, 2023 · 1 comment
Open

Hook up modules to swagger for prototyping #144

0xFable opened this issue Apr 12, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@0xFable
Copy link
Contributor

0xFable commented Apr 12, 2023

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
@0xFable 0xFable added the enhancement New feature or request label Apr 12, 2023
@faddat
Copy link
Collaborator

faddat commented Apr 25, 2023

sounds good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants