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

Autofill request params #330

Open
sebastiantf opened this issue Dec 16, 2023 · 1 comment
Open

Autofill request params #330

sebastiantf opened this issue Dec 16, 2023 · 1 comment

Comments

@sebastiantf
Copy link

Is your feature request related to a problem? Please describe.
I was trying out the inspector on Ethereum JSON-RPC docs at https://ethereum.github.io/execution-apis/api-documentation/
I couldn't find the params fields being autofilled on the request body even though they are defined in the spec eg.
https://github.com/ethereum/execution-apis/blob/a0d03086564ab1838b462befbc083f873dcf0c0f/src/eth/execute.yaml#L1C16-L11

Is that the expected behavior?

Describe the solution you'd like
Would love for the params to be autofilled on the inspector

Describe alternatives you've considered
I had to setup a postman collection with the params fields autofilled

Additional context
https://github.com/ethereum/execution-apis uses the open-rpc-generator to generate the gatsby website

@ivy-rew
Copy link

ivy-rew commented Apr 5, 2024

In general parameter completion seems to work: You just have to delete the empty array[] and replace it with the empty {} being suggest when completing.

params-completor

At least this work with one of the standard specs: https://inspector.open-rpc.org/?schemaUrl=https://raw.githubusercontent.com/open-rpc/examples/master/service-descriptions/petstore-expanded-openrpc.json

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

No branches or pull requests

2 participants