feat(deltachat-rpc-server): add --openrpc option

This commit is contained in:
link2xt
2023-08-01 15:02:32 +00:00
parent c34edc582e
commit 13e766bc37
7 changed files with 27 additions and 11 deletions

View File

@@ -142,11 +142,7 @@ impl CommandApi {
}
}
#[rpc(
all_positional,
ts_outdir = "typescript/generated",
openrpc_outdir = "openrpc"
)]
#[rpc(all_positional, ts_outdir = "typescript/generated")]
impl CommandApi {
/// Test function.
async fn sleep(&self, delay: f64) {