Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
class OpenboxEndpoints
Re-export
import { OpenboxEndpoints } from "https://deno.land/x/openbox@1.2.10/mod.ts";

Constructors

new
OpenboxEndpoints(schemaRegistry: OpenboxSchemaRegistry, endpointByPathByMethodMap?: Map<PathKey, Map<OpenboxRouteMethod, OpenboxEndpoint>>)

Methods

get(path: PathKey, method: OpenboxRouteMethod): OpenboxEndpoint | undefined
jsonEndpoint<P extends string, J extends OpenboxJsonRouteConfig<P>>(jsonConfig: J)