File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ export type ClientOptions = ProtocolOptions & {
162162 * The validator is used to validate structured content returned by tools
163163 * against their declared output schemas.
164164 *
165- * @default {@linkcode DefaultJsonSchemaValidator } ({@linkcode index.AjvJsonSchemaValidator | AjvJsonSchemaValidator} on Node.js, { @linkcode index. CfWorkerJsonSchemaValidator | CfWorkerJsonSchemaValidator} on Cloudflare Workers)
165+ * @default {@linkcode DefaultJsonSchemaValidator } ({@linkcode index.AjvJsonSchemaValidator | AjvJsonSchemaValidator} on Node.js, ` CfWorkerJsonSchemaValidator` on Cloudflare Workers)
166166 */
167167 jsonSchemaValidator ?: jsonSchemaValidator ;
168168
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ function createDefaultAjvInstance(): Ajv {
3333 * const validator = new AjvJsonSchemaValidator(ajv);
3434 * ```
3535 *
36- * @see { @linkcode CfWorkerJsonSchemaValidator} for an edge-runtime-compatible alternative
36+ * @see ` CfWorkerJsonSchemaValidator` for an edge-runtime-compatible alternative (import from `@modelcontextprotocol/server/validators/cf-worker`)
3737 */
3838export class AjvJsonSchemaValidator implements jsonSchemaValidator {
3939 private _ajv : Ajv ;
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ export type ServerOptions = ProtocolOptions & {
8484 * The validator is used to validate user input returned from elicitation
8585 * requests against the requested schema.
8686 *
87- * @default {@linkcode DefaultJsonSchemaValidator } ({@linkcode index.AjvJsonSchemaValidator | AjvJsonSchemaValidator} on Node.js, { @linkcode index. CfWorkerJsonSchemaValidator | CfWorkerJsonSchemaValidator} on Cloudflare Workers)
87+ * @default {@linkcode DefaultJsonSchemaValidator } ({@linkcode index.AjvJsonSchemaValidator | AjvJsonSchemaValidator} on Node.js, ` CfWorkerJsonSchemaValidator` on Cloudflare Workers)
8888 */
8989 jsonSchemaValidator ?: jsonSchemaValidator ;
9090} ;
You can’t perform that action at this time.
0 commit comments