Skip to content

Commit 6130cfa

Browse files
Merge pull request #89 from advanced-rest-client/fix/W-15607557/show-path-async
fix async api path
2 parents b1919a1 + 5519477 commit 6130cfa

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
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.23",
4+
"version": "5.2.24",
55
"license": "Apache-2.0",
66
"main": "index.js",
77
"module": "index.js",

src/ApiUrl.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -298,10 +298,7 @@ export class ApiUrl extends AmfHelperMixin(LitElement) {
298298
}
299299

300300
_getAsyncPathTemplate() {
301-
if (this.isNotHttp) {
302-
return html`<div class="async-servers-path url-channel-value">${this.path}</div>`;
303-
}
304-
return '';
301+
return html`<div class="async-servers-path url-channel-value">${this.path || ''}</div>`;
305302
}
306303

307304
_getOperationIdTemplate() {

0 commit comments

Comments
 (0)