feat: migration to fumadocs 14

This commit is contained in:
Mauricio Siu
2024-11-09 21:15:20 -06:00
parent 0dd0161f1e
commit 8267c4a7b6
229 changed files with 22179 additions and 2109 deletions

View File

@@ -0,0 +1,17 @@
import { generateFiles } from "fumadocs-openapi";
try {
void generateFiles({
input: ["./api.json"],
output: "./content/docs/api/generated",
per: "tag",
name: (tag, name) => {
console.log(tag, name);
return `reference-${name}`;
},
});
} catch (error) {
console.error(error);
}
// united.com/customer-care