Skip to content

Commit f3b6ed8

Browse files
Merge branch 'master' into feat/W-15520234/security
2 parents 2877d80 + 87cf5e3 commit f3b6ed8

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
@@ -1055,7 +1055,7 @@ export class ApiMethodDocumentation extends AmfHelperMixin(LitElement) {
10551055
}
10561056

10571057
_getBodyTemplate() {
1058-
const { payload, payloadDescription, bindings } = this;
1058+
const { payload, payloadDescription, bindings, endpoint } = this;
10591059
if (!payload || !payload.length) {
10601060
return '';
10611061
}
@@ -1071,6 +1071,7 @@ export class ApiMethodDocumentation extends AmfHelperMixin(LitElement) {
10711071
?narrow="${narrow}"
10721072
?compatibility="${compatibility}"
10731073
?graph="${graph}"
1074+
.endpoint="${endpoint}"
10741075
.body="${payload}"
10751076
.bodyDescription="${payloadDescription}"
10761077
.bindings="${bindings}"

0 commit comments

Comments
 (0)