From 5555f84b8d305a7e2c1f27944f76d9df4bdc35c1 Mon Sep 17 00:00:00 2001 From: spezzirriemiliano Date: Thu, 25 Apr 2024 16:04:02 -0300 Subject: [PATCH] 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`;