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

Swagger-like UI for calling services #1651

Open
VanishMax opened this issue Aug 6, 2024 · 0 comments
Open

Swagger-like UI for calling services #1651

VanishMax opened this issue Aug 6, 2024 · 0 comments

Comments

@VanishMax
Copy link
Contributor

Right now we use Buf studio to test data from the services. The problem of Buf studio is that it only allows to test public methods like AssetMetadataById or CurrentGasPrices but it cannot query private services to, for example, access the balances of the user accounts.

The proposed idea is to create a Swagger-like UI with 'Connect to Prax' button. It should connect to the wallet api and display the list of available services. This list should be dynamically parsed from the generated protobuf message types instead of hard-coding the list of available services and their arguments.

It should be possible to call any service with some arguments and see the result in prettified JSON.

This app could potentially live in the apps/ directory or in the Penumbra Guide repo since it allows importing React components.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🗄️ Backlog
Development

No branches or pull requests

1 participant