mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 16:51:38 +10:00
fix: redirect v2 beta url
This commit is contained in:
@ -13,7 +13,7 @@ export const createAttachmentRoute = authenticatedProcedure
|
||||
path: '/envelope/attachment/create',
|
||||
summary: 'Create attachment',
|
||||
description: 'Create a new attachment for an envelope',
|
||||
tags: ['Envelope Attachment'],
|
||||
tags: ['Envelope Attachments'],
|
||||
},
|
||||
})
|
||||
.input(ZCreateAttachmentRequestSchema)
|
||||
|
||||
@ -13,7 +13,7 @@ export const deleteAttachmentRoute = authenticatedProcedure
|
||||
path: '/envelope/attachment/delete',
|
||||
summary: 'Delete attachment',
|
||||
description: 'Delete an attachment from an envelope',
|
||||
tags: ['Envelope Attachment'],
|
||||
tags: ['Envelope Attachments'],
|
||||
},
|
||||
})
|
||||
.input(ZDeleteAttachmentRequestSchema)
|
||||
|
||||
@ -15,7 +15,7 @@ export const findAttachmentsRoute = maybeAuthenticatedProcedure
|
||||
path: '/envelope/attachment',
|
||||
summary: 'Find attachments',
|
||||
description: 'Find all attachments for an envelope',
|
||||
tags: ['Envelope Attachment'],
|
||||
tags: ['Envelope Attachments'],
|
||||
},
|
||||
})
|
||||
.input(ZFindAttachmentsRequestSchema)
|
||||
|
||||
@ -13,7 +13,7 @@ export const updateAttachmentRoute = authenticatedProcedure
|
||||
path: '/envelope/attachment/update',
|
||||
summary: 'Update attachment',
|
||||
description: 'Update an existing attachment',
|
||||
tags: ['Envelope Attachment'],
|
||||
tags: ['Envelope Attachments'],
|
||||
},
|
||||
})
|
||||
.input(ZUpdateAttachmentRequestSchema)
|
||||
|
||||
@ -20,7 +20,7 @@ export const createEnvelopeItemsRoute = authenticatedProcedure
|
||||
path: '/envelope/item/create-many',
|
||||
summary: 'Create envelope items',
|
||||
description: 'Create multiple envelope items for an envelope',
|
||||
tags: ['Envelope Item'],
|
||||
tags: ['Envelope Items'],
|
||||
},
|
||||
})
|
||||
.input(ZCreateEnvelopeItemsRequestSchema)
|
||||
|
||||
@ -18,7 +18,7 @@ export const deleteEnvelopeItemRoute = authenticatedProcedure
|
||||
path: '/envelope/item/delete',
|
||||
summary: 'Delete envelope item',
|
||||
description: 'Delete an envelope item from an envelope',
|
||||
tags: ['Envelope Item'],
|
||||
tags: ['Envelope Items'],
|
||||
},
|
||||
})
|
||||
.input(ZDeleteEnvelopeItemRequestSchema)
|
||||
|
||||
@ -20,7 +20,7 @@ export const deleteEnvelopeFieldRoute = authenticatedProcedure
|
||||
path: '/envelope/field/delete',
|
||||
summary: 'Delete envelope field',
|
||||
description: 'Delete an envelope field',
|
||||
tags: ['Envelope Field'],
|
||||
tags: ['Envelope Fields'],
|
||||
},
|
||||
})
|
||||
.input(ZDeleteEnvelopeFieldRequestSchema)
|
||||
|
||||
@ -13,7 +13,7 @@ export const getEnvelopeFieldRoute = authenticatedProcedure
|
||||
path: '/envelope/field/{fieldId}',
|
||||
summary: 'Get envelope field',
|
||||
description: 'Returns an envelope field given an ID',
|
||||
tags: ['Envelope Field'],
|
||||
tags: ['Envelope Fields'],
|
||||
},
|
||||
})
|
||||
.input(ZGetEnvelopeFieldRequestSchema)
|
||||
|
||||
@ -13,7 +13,7 @@ export const updateEnvelopeFieldsRoute = authenticatedProcedure
|
||||
path: '/envelope/field/update-many',
|
||||
summary: 'Update envelope fields',
|
||||
description: 'Update multiple envelope fields for an envelope',
|
||||
tags: ['Envelope Field'],
|
||||
tags: ['Envelope Fields'],
|
||||
},
|
||||
})
|
||||
.input(ZUpdateEnvelopeFieldsRequestSchema)
|
||||
|
||||
@ -13,7 +13,7 @@ export const deleteEnvelopeRecipientRoute = authenticatedProcedure
|
||||
path: '/envelope/recipient/delete',
|
||||
summary: 'Delete envelope recipient',
|
||||
description: 'Delete an envelope recipient',
|
||||
tags: ['Envelope Recipient'],
|
||||
tags: ['Envelope Recipients'],
|
||||
},
|
||||
})
|
||||
.input(ZDeleteEnvelopeRecipientRequestSchema)
|
||||
|
||||
@ -15,7 +15,7 @@ export const getEnvelopeRecipientRoute = authenticatedProcedure
|
||||
path: '/envelope/recipient/{recipientId}',
|
||||
summary: 'Get envelope recipient',
|
||||
description: 'Returns an envelope recipient given an ID',
|
||||
tags: ['Envelope Recipient'],
|
||||
tags: ['Envelope Recipients'],
|
||||
},
|
||||
})
|
||||
.input(ZGetEnvelopeRecipientRequestSchema)
|
||||
|
||||
@ -13,7 +13,7 @@ export const updateEnvelopeRecipientsRoute = authenticatedProcedure
|
||||
path: '/envelope/recipient/update-many',
|
||||
summary: 'Update envelope recipients',
|
||||
description: 'Update multiple recipients for an envelope',
|
||||
tags: ['Envelope Recipient'],
|
||||
tags: ['Envelope Recipients'],
|
||||
},
|
||||
})
|
||||
.input(ZUpdateEnvelopeRecipientsRequestSchema)
|
||||
|
||||
@ -16,7 +16,7 @@ export const updateEnvelopeItemsRoute = authenticatedProcedure
|
||||
path: '/envelope/item/update-many',
|
||||
summary: 'Update envelope items',
|
||||
description: 'Update multiple envelope items for an envelope',
|
||||
tags: ['Envelope Item'],
|
||||
tags: ['Envelope Items'],
|
||||
},
|
||||
})
|
||||
.input(ZUpdateEnvelopeItemsRequestSchema)
|
||||
|
||||
@ -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',
|
||||
|
||||
Reference in New Issue
Block a user