Skip to content

API reference / @chanx-js/codegen / AsyncAPIDocument

Interface: AsyncAPIDocument ​

Defined in: schema.ts:46

Properties ​

asyncapi? ​

ts
optional asyncapi?: string;

Defined in: schema.ts:47


channels? ​

ts
optional channels?: Record<string, ChannelObject>;

Defined in: schema.ts:49


components? ​

ts
optional components?: object;

Defined in: schema.ts:51

messages? ​

ts
optional messages?: Record<string, {
  payload?: JsonSchema;
}>;

schemas? ​

ts
optional schemas?: Record<string, JsonSchema>;

info? ​

ts
optional info?: object;

Defined in: schema.ts:48

description? ​

ts
optional description?: string;

title? ​

ts
optional title?: string;

version? ​

ts
optional version?: string;

operations? ​

ts
optional operations?: Record<string, OperationObject>;

Defined in: schema.ts:50

MIT licensed