@s1am0nd/asyncapi-react-component
Version:
A React component for AsyncAPI specification.
26 lines • 708 B
TypeScript
export interface ConfigInterface {
schemaID?: string;
show?: ShowConfig;
expand?: ExpandConfig;
sidebar?: SideBarConfig;
parserOptions?: any;
publishLabel?: string;
subscribeLabel?: string;
}
export interface ShowConfig {
sidebar?: boolean;
info?: boolean;
servers?: boolean;
operations?: boolean;
messages?: boolean;
schemas?: boolean;
errors?: boolean;
}
export interface ExpandConfig {
messageExamples?: boolean;
}
export interface SideBarConfig {
showServers?: 'byDefault' | 'bySpecTags' | 'byServersTags';
showOperations?: 'byDefault' | 'bySpecTags' | 'byOperationsTags';
}
//# sourceMappingURL=config.d.ts.map