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 0147ca6 commit c1a0cc8Copy full SHA for c1a0cc8
src/ApiMethodDocumentation.js
@@ -991,12 +991,14 @@ export class ApiMethodDocumentation extends AmfHelperMixin(LitElement) {
991
compatibility,
992
graph
993
} = this;
994
+ const isAsyncApi = !this._isAsyncAPI(amf)
995
return html`<api-headers-document
996
opened
997
.amf="${amf}"
998
?narrow="${narrow}"
999
?compatibility="${compatibility}"
1000
?graph="${graph}"
1001
+ .noMainExample="${isAsyncApi}"
1002
.headers="${headers}"></api-headers-document>`;
1003
}
1004
0 commit comments