docusaurus-plugin-openapi-docs
Version:
OpenAPI plugin for Docusaurus.
23 lines (19 loc) • 615 B
text/typescript
/* ============================================================================
* Copyright (c) Palo Alto Networks
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* ========================================================================== */
import { create } from "./utils";
import { ApiItem } from "../types";
interface Props {
parameters: ApiItem["parameters"];
}
export function createParamsDetails({ parameters }: Props) {
return [
create("ParamsDetails", {
parameters: parameters,
}),
"\n\n",
];
}