Skip to content

Commit 87cf5e3

Browse files
Merge pull request #81 from advanced-rest-client/feat/W-15520183/show-message-id
feat: added endpoint attribute to api-body-document
2 parents e8a705b + 73cfac5 commit 87cf5e3

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@api-components/api-method-documentation",
33
"description": "A HTTP method documentation build from AMF model",
4-
"version": "5.2.17",
4+
"version": "5.2.18",
55
"license": "Apache-2.0",
66
"main": "index.js",
77
"module": "index.js",

src/ApiMethodDocumentation.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,7 @@ export class ApiMethodDocumentation extends AmfHelperMixin(LitElement) {
10081008
}
10091009

10101010
_getBodyTemplate() {
1011-
const { payload, payloadDescription, bindings } = this;
1011+
const { payload, payloadDescription, bindings, endpoint } = this;
10121012
if (!payload || !payload.length) {
10131013
return '';
10141014
}
@@ -1024,6 +1024,7 @@ export class ApiMethodDocumentation extends AmfHelperMixin(LitElement) {
10241024
?narrow="${narrow}"
10251025
?compatibility="${compatibility}"
10261026
?graph="${graph}"
1027+
.endpoint="${endpoint}"
10271028
.body="${payload}"
10281029
.bodyDescription="${payloadDescription}"
10291030
.bindings="${bindings}"

0 commit comments

Comments
 (0)