docs: mark all v1 API endpoints as deprecated

Add deprecated flag and migration message to all 19 v1 API endpoints
to signal users should migrate to the v2 API.
This commit is contained in:
ephraimduncan
2026-01-20 14:36:35 +00:00
parent 158b36a9b7
commit fd94a403af
3 changed files with 126 additions and 5 deletions
+2 -1
View File
@@ -11,7 +11,8 @@ export const OpenAPIV1 = Object.assign(
info: {
title: 'Documenso API',
version: '1.0.0',
description: 'The Documenso API for retrieving, creating, updating and deleting documents.',
description:
'[DEPRECATED] The Documenso API for retrieving, creating, updating and deleting documents. Please migrate to the v2 API.',
},
servers: [
{