Skip to content

Commit

Permalink
feat: added messageId namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
spezzirriemiliano committed Apr 25, 2024
1 parent 51f1d95 commit 5555f84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Namespace.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ interface ApiContract {
expects: string;
examples: string;
supportedOperation: string;
messageId: string;
statusCode: string;
method: string;
required: string;
Expand Down Expand Up @@ -257,7 +258,7 @@ interface Vocabularies {
core: Readonly<Core>;
security: Readonly<Security>;
apiContract: Readonly<ApiContract>;
apiBinding: Readonly<ApiBinding>
apiBinding: Readonly<ApiBinding>;
shapes: Readonly<Shapes>;
data: Readonly<Data>;
docSourceMaps: Readonly<DocSourceMaps>;
Expand Down
1 change: 1 addition & 0 deletions src/Namespace.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`;
Expand Down

0 comments on commit 5555f84

Please sign in to comment.