docusaurus-plugin-openapi-docs
Version:
OpenAPI plugin for Docusaurus.
15 lines (14 loc) • 371 B
TypeScript
import { MediaTypeObject } from "../openapi/types";
interface Props {
style?: any;
title: string;
body: {
content?: {
[key: string]: MediaTypeObject;
};
description?: string;
required?: string[] | boolean;
};
}
export declare function createResponseSchema({ title, body, ...rest }: Props): string[];
export {};