Skip to content

API reference / @chanx-js/server / core / AsyncAPIDocsAssets

Interface: AsyncAPIDocsAssets ​

Defined in: packages/server/src/asyncapi-http.ts:14

The docs page's script and stylesheet. A custom URL drops the pinned hash; pass your own.

Properties ​

cssIntegrity? ​

ts
optional cssIntegrity?: string;

Defined in: packages/server/src/asyncapi-http.ts:19


cssUrl? ​

ts
optional cssUrl?: string;

Defined in: packages/server/src/asyncapi-http.ts:16


jsIntegrity? ​

ts
optional jsIntegrity?: string;

Defined in: packages/server/src/asyncapi-http.ts:18

A Subresource Integrity hash, such as sha384-....


jsUrl? ​

ts
optional jsUrl?: string;

Defined in: packages/server/src/asyncapi-http.ts:15

MIT licensed