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: ResponseObject; /** * media type of response */ mediaType: string | null; examples?: ResponseExample[]; } interface ResponseExample { /** * generated/defined example data */ sample: unknown; label: ReactNode; /** * description (in Markdown) */ description?: string; } interface ResponseTabsRenderOptions { tabs: ResponseTab[]; } //#endregion export { ResponseTab, ResponseTabsRenderOptions };