From 7b654742b2f08516aab6a445252e69d3b950bdb3 Mon Sep 17 00:00:00 2001 From: NazaQuintero Date: Thu, 25 Apr 2024 14:15:16 -0300 Subject: [PATCH 1/5] server tags namespace --- src/Namespace.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Namespace.js b/src/Namespace.js index d58e433..5c76470 100644 --- a/src/Namespace.js +++ b/src/Namespace.js @@ -176,6 +176,7 @@ ns.aml.vocabularies.apiContract.style = `${contractKey}style`; ns.aml.vocabularies.apiContract.explode = `${contractKey}explode`; ns.aml.vocabularies.apiContract.allowReserved = `${contractKey}allowReserved`; ns.aml.vocabularies.apiContract.tag = `${contractKey}tag`; +ns.aml.vocabularies.apiContract.tags = `${contractKey}tags`; ns.aml.vocabularies.shapes = {}; ns.aml.vocabularies.shapes.key = `${ns.aml.vocabularies.key}shapes#`; const shapesKey = ns.aml.vocabularies.shapes.key; From a3d2c6df8e467df412bc41225561cd6438a53dc7 Mon Sep 17 00:00:00 2001 From: NazaQuintero Date: Thu, 25 Apr 2024 14:19:59 -0300 Subject: [PATCH 2/5] def Signed-off-by: NazaQuintero --- src/Namespace.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Namespace.d.ts b/src/Namespace.d.ts index b473b73..eed6ca2 100644 --- a/src/Namespace.d.ts +++ b/src/Namespace.d.ts @@ -154,6 +154,7 @@ interface ApiContract { explode: string; allowReserved: string; tag: string; + tags: string[]; } interface ApiBinding { From 51f1d95f78911b62c897f17a2002c90005384ee3 Mon Sep 17 00:00:00 2001 From: NazaQuintero Date: Thu, 25 Apr 2024 14:20:57 -0300 Subject: [PATCH 3/5] namespace tags Signed-off-by: NazaQuintero --- src/Namespace.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Namespace.d.ts b/src/Namespace.d.ts index eed6ca2..9749679 100644 --- a/src/Namespace.d.ts +++ b/src/Namespace.d.ts @@ -154,7 +154,7 @@ interface ApiContract { explode: string; allowReserved: string; tag: string; - tags: string[]; + tags: string; } interface ApiBinding { From 5555f84b8d305a7e2c1f27944f76d9df4bdc35c1 Mon Sep 17 00:00:00 2001 From: spezzirriemiliano Date: Thu, 25 Apr 2024 16:04:02 -0300 Subject: [PATCH 4/5] feat: added messageId namespace --- src/Namespace.d.ts | 3 ++- src/Namespace.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Namespace.d.ts b/src/Namespace.d.ts index 9749679..e1be201 100644 --- a/src/Namespace.d.ts +++ b/src/Namespace.d.ts @@ -134,6 +134,7 @@ interface ApiContract { expects: string; examples: string; supportedOperation: string; + messageId: string; statusCode: string; method: string; required: string; @@ -257,7 +258,7 @@ interface Vocabularies { core: Readonly; security: Readonly; apiContract: Readonly; - apiBinding: Readonly + apiBinding: Readonly; shapes: Readonly; data: Readonly; docSourceMaps: Readonly; diff --git a/src/Namespace.js b/src/Namespace.js index 5c76470..4bf8d2b 100644 --- a/src/Namespace.js +++ b/src/Namespace.js @@ -155,6 +155,7 @@ ns.aml.vocabularies.apiContract.response = `${contractKey}response`; ns.aml.vocabularies.apiContract.returns = `${contractKey}returns`; ns.aml.vocabularies.apiContract.expects = `${contractKey}expects`; ns.aml.vocabularies.apiContract.examples = `${contractKey}examples`; +ns.aml.vocabularies.apiContract.messageId = `${contractKey}messageId`; ns.aml.vocabularies.apiContract.supportedOperation = `${contractKey}supportedOperation`; ns.aml.vocabularies.apiContract.statusCode = `${contractKey}statusCode`; ns.aml.vocabularies.apiContract.method = `${contractKey}method`; From 24cce3a70012e3d08c341eb16fe75fe71aa302be Mon Sep 17 00:00:00 2001 From: spezzirriemiliano Date: Thu, 25 Apr 2024 16:46:52 -0300 Subject: [PATCH 5/5] 4.5.25 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0545858..d449205 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@api-components/amf-helper-mixin", - "version": "4.5.24", + "version": "4.5.25", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@api-components/amf-helper-mixin", - "version": "4.5.24", + "version": "4.5.25", "license": "Apache-2.0", "dependencies": { "amf-json-ld-lib": "0.0.14" diff --git a/package.json b/package.json index 708ca27..931c027 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@api-components/amf-helper-mixin", "description": "A mixin with common functions user by most AMF components to compute AMF values", - "version": "4.5.24", + "version": "4.5.25", "license": "Apache-2.0", "main": "index.js", "module": "index.js",