Files
herolib/lib/schemas/openrpc/handler_factory.v
2025-09-14 15:46:57 +03:00

14 lines
224 B
V

module openrpc
import os
import json
// path to openrpc.json file
pub fn new_handler(openrpc_path string) !Handler {
mut openrpc_handler := Handler{
specification: new(path: openrpc_path)!
}
return openrpc_handler
}