mirror of
https://github.com/Dokploy/website.git
synced 2026-06-15 20:25:25 +02:00
- Added new OpenAPI components and updated the documentation structure with new MDX files for various API references. - Introduced a script to fix OpenAPI schema issues, ensuring proper response schemas and security definitions. - Updated package dependencies to include fumadocs-openapi for improved API documentation generation. - Enhanced global CSS to incorporate new styles from fumadocs-openapi. - Modified the pnpm-lock.yaml to reflect new package versions and dependencies.
19 lines
358 B
JavaScript
19 lines
358 B
JavaScript
import { generateFiles } from "fumadocs-openapi";
|
|
|
|
try {
|
|
void generateFiles({
|
|
input: ["./public/openapi.json"],
|
|
output: "./content/docs/api/generated",
|
|
per: "tag",
|
|
name: (tag, name) => {
|
|
console.log(tag, name);
|
|
return `reference-${name}`;
|
|
},
|
|
});
|
|
console.log("Done");
|
|
} catch (error) {
|
|
console.error(error);
|
|
}
|
|
|
|
// united.com/customer-care
|