build(docs): use latest nextjs and fumadocs with default unset value fix

This commit is contained in:
rzmk 2025-10-22 06:40:35 -04:00
parent 4fc9937520
commit 0eaf2eb000
7 changed files with 170 additions and 178 deletions

View file

@ -2,38 +2,4 @@ import { createOpenAPI } from 'fumadocs-openapi/server';
export const openapi = createOpenAPI({
input: ["./lib/openapi.yml"],
generateCodeSamples(endpoint) {
return [
{
lang: 'curl',
label: 'cURL',
source: false,
},
{
lang: 'javascript',
label: 'JavaScript',
source: false,
},
{
lang: 'go',
label: 'Go',
source: false,
},
{
lang: 'python',
label: 'Python',
source: false,
},
{
lang: 'java',
label: 'Java',
source: false,
},
{
lang: 'c#',
label: 'C#',
source: false,
},
];
},
});