We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1a0cc8 commit a18b8b4Copy full SHA for a18b8b4
src/ApiMethodDocumentation.js
@@ -991,14 +991,17 @@ export class ApiMethodDocumentation extends AmfHelperMixin(LitElement) {
991
compatibility,
992
graph
993
} = this;
994
- const isAsyncApi = !this._isAsyncAPI(amf)
+
995
+ // hidden example when is not an async api
996
+ const noMainExample = !this._isAsyncAPI(amf)
997
998
return html`<api-headers-document
999
opened
1000
.amf="${amf}"
1001
?narrow="${narrow}"
1002
?compatibility="${compatibility}"
1003
?graph="${graph}"
- .noMainExample="${isAsyncApi}"
1004
+ .noMainExample="${noMainExample}"
1005
.headers="${headers}"></api-headers-document>`;
1006
}
1007
0 commit comments