UNPKG

@redocly/portal-plugin-async-api

Version:

Async API plugin for Redocly products

17 lines (14 loc) 484 B
import type { FromSchema } from 'json-schema-to-ts'; export const asyncApiDocsConfigSchema = { type: 'object', properties: { schemaId: { type: 'string' }, hideInfo: { type: 'boolean' }, hideOperations: { type: 'boolean' }, hideServers: { type: 'boolean' }, hideMessages: { type: 'boolean' }, hideSchemas: { type: 'boolean' }, }, additionalProperties: false, } as const; export type AsyncApiDocsSettings = FromSchema<typeof asyncApiDocsConfigSchema>;