Files
herolib/lib/schemas/openrpc/handler_factory.v
2025-09-14 11:57:11 +02:00

17 lines
235 B
V

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