From 9f702b3824e747cfdd74d4936ae7f757e726fea1 Mon Sep 17 00:00:00 2001 From: Diyun Yao Date: Tue, 23 Jul 2024 14:02:43 +0800 Subject: [PATCH] fix Broken-link-in-https/fdc3.finos.org/docs/next/api/spec --- docs/api/spec.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/spec.md b/docs/api/spec.md index 7c944e836..25a7b62a3 100644 --- a/docs/api/spec.md +++ b/docs/api/spec.md @@ -52,7 +52,7 @@ Other interfaces defined in the spec are not critical to define as concrete type FDC3 and the Desktop Agent API it defines are intended to be independent of particular programming languages and platforms and hence the original definitions, produced in TypeScript, may be translated into other languages. However, this also places limitations on the API definitions as they need to be widely implementable in other languages. -Specifically, the use of ['unions'](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) of primitive values in API type and metadata objects, or function parameters SHOULD be avoided as they often cannot be replicated in other languages. Unions of more complex types (such as specific [Context](ref/Context) Types) may be used where a suitable interface is available or can be created to allow the required polymorphism in languages other than TypeScript. +Specifically, the use of ['unions'](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) of primitive values in API type and metadata objects, or function parameters SHOULD be avoided as they often cannot be replicated in other languages. Unions of more complex types (such as specific [Context](../context/spec#the-context-interface) Types) may be used where a suitable interface is available or can be created to allow the required polymorphism in languages other than TypeScript. ### API Access