UNPKG

fumadocs-openapi

Version:

Generate MDX docs for your OpenAPI spec

31 lines (30 loc) 664 B
import { NoReference } from "../../utils/schema.js"; import { ResponseObject } from "../../types.js"; import { ReactNode } from "react"; //#region src/ui/operation/response-tabs.d.ts interface ResponseTab { /** * HTTP response code */ code: string; response: NoReference<ResponseObject>; /** * media type of response */ mediaType: string | null; examples?: ResponseExample[]; } interface ResponseExample { /** * generated/defined example data */ sample: unknown; label: string; /** * description (in Markdown) */ description?: string; } //#endregion export { ResponseTab }; //# sourceMappingURL=response-tabs.d.ts.map