feat: enhance OpenRPC specification with method metadata and structured responses #30
No reviewers
Labels
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
geomind_code/webgateway!30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_jsonrpc_spec"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
#11
78cad9059b8d1e70c8deWIP: feat: enhance OpenRPC specification with method metadata and structured responsesto feat: enhance OpenRPC specification with method metadata and structured responses@ -47,0 +62,4 @@Result: HealthResult{},})r.Register("rpc.discover", r.handleRPCDiscover, MethodMeta{Description: "Get the OpenRPC specification for this API",can we add the expected results here?
@ -54,0 +78,4 @@r.Register("services.list", r.handleMyceliumServicesList, MethodMeta{Description: "List all services for the authenticated user",Result: config.MyceliumService{},ResultArray: true,Please add the possible error responses here, this might return Authentication failure error and internal error
apply for all methods
lgtm, but can you try rebase and generate specs for admin interface too? it was added recently and I don't see them in your implementation
5ec33c15853a7aadd9753a7aadd9751f57a7936f1f57a7936f99c6d14a1899c6d14a18965ceb7562