MCPcopy Create free account
hub / github.com/zenstackhq/zenstack / constructor

Method constructor

packages/server/src/api/rpc/openapi.ts:137–139  ·  view source on GitHub ↗
(private readonly handlerOptions: RPCApiHandlerOptions<Schema>)

Source from the content-addressed store, hash-verified

135 private registrySchemas: Record<string, SchemaObject> = {};
136
137 constructor(private readonly handlerOptions: RPCApiHandlerOptions<Schema>) {
138 this.factory = createQuerySchemaFactory(handlerOptions.schema, handlerOptions.queryOptions);
139 }
140
141 private get schema(): SchemaDef {
142 return this.handlerOptions.schema;

Callers

nothing calls this directly

Calls 1

createQuerySchemaFactoryFunction · 0.90

Tested by

no test coverage detected