fix: redirect v2 beta url

This commit is contained in:
David Nguyen
2025-11-04 11:55:07 +11:00
parent bbf1dd3c6b
commit c89ca83f44
17 changed files with 31 additions and 23 deletions

View File

@ -6,10 +6,11 @@ import { appRouter } from './router';
export const openApiDocument = {
...generateOpenApiDocument(appRouter, {
title: 'Documenso v2 beta API',
description: 'Subject to breaking changes until v2 is fully released.',
version: '0.0.0',
baseUrl: `${NEXT_PUBLIC_WEBAPP_URL()}/api/v2-beta`,
title: 'Documenso v2 API',
description:
'Welcome to the Documenso v2 API.\n\nThis API provides access to our system, which you can use to integrate applications, automate workflows, or build custom tools.',
version: '1.0.0',
baseUrl: `${NEXT_PUBLIC_WEBAPP_URL()}/api/v2`,
securitySchemes: {
apiKey: {
type: 'apiKey',