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

Add OpenRPC support to define plugin API #1271

Open
2 tasks done
shanejonas opened this issue May 30, 2020 · 1 comment
Open
2 tasks done

Add OpenRPC support to define plugin API #1271

shanejonas opened this issue May 30, 2020 · 1 comment

Comments

@shanejonas
Copy link

Xi-Editor Issue Template

  • I have searched existing issues and could not find my issue.
  • I have studied the documentation.

Details

I think this project could benefit from integration with OpenRPC which provides a base foundation for service discovery and tooling such as documentation/client generation/mock server for JSON-RPC akin to OpenAPI/Swagger.

Here is an example of the OpenRPC playground, it gets the OpenRPC Document via calling the rpc.discover method:

https://playground.open-rpc.org/?url=https://mock.open-rpc.org/petstore-1.0.0

and just the bare inspector:
https://inspector.open-rpc.org/?url=https://mock.open-rpc.org/petstore-1.0.0

Let me know how I can help.

@LiHRaM
Copy link
Contributor

LiHRaM commented Jun 2, 2020

I think this is a really good idea. Do you have an idea for how this could be implemented for Xi? Got any specific crates in mind, maybe?

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