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

Validate openrpc.json in unit tests #4679

Open
sydhds opened this issue Apr 16, 2024 · 1 comment
Open

Validate openrpc.json in unit tests #4679

sydhds opened this issue Apr 16, 2024 · 1 comment
Assignees

Comments

@sydhds
Copy link
Contributor

sydhds commented Apr 16, 2024

Our current openrpc.json file is buggy in several way (and is broken for massa-web3 auto generation for example)

  • Validate openrpc.json using a json schema (is there is any)?
  • Validate API unit tests and validate with what is expected in openrpc.json file
    • require parsing the openrpc.json file, extract the type information and check against the response types

Previous attempt to validate the openrpc.json file can be found here:

@modship
Copy link
Member

modship commented Apr 29, 2024

(#4672) (#4688)

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