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

Feat: add support for openRpcDocumentURI in query params #316

Open
zcstarr opened this issue Aug 12, 2022 · 2 comments
Open

Feat: add support for openRpcDocumentURI in query params #316

zcstarr opened this issue Aug 12, 2022 · 2 comments
Assignees

Comments

@zcstarr
Copy link
Member

zcstarr commented Aug 12, 2022

Summary:
Add support for a specifying an openRPC document via URI in the query params for inspector. This will improve the ux capability of inspector.

Acceptance Criteria:
You can specify openRpcDocumentUri in the query params. It will defer to the existing openRPCDocument param, in the case that both params are specified.

@zcstarr zcstarr self-assigned this Aug 12, 2022
@ivy-rew
Copy link

ivy-rew commented Apr 5, 2024

@ivy-rew
Copy link

ivy-rew commented Apr 8, 2024

@zcstarr I think now I see your problem. Opening the browser console I saw that requests to fetch the given schemaUrl spec fails, unless its hosted on Github. This derives from a CORS security restriction.
You can work-around it by installing a browser extension, that patches CORS headers, so that you can call external hostnames.

cors_issues-with-query-url

This one works for me on Firefox: https://mybrowseraddon.com/access-control-allow-origin.html?v=0.1.7&type=install

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