From 21b20920c2c6dc28abbd7bf1358c548534a8fd97 Mon Sep 17 00:00:00 2001 From: Johann150 Date: Mon, 2 Jan 2023 13:06:25 +0100 Subject: [PATCH] docs: use endpoint stability to mark endpoints deprecated --- packages/backend/src/server/api/openapi/gen-spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/backend/src/server/api/openapi/gen-spec.ts b/packages/backend/src/server/api/openapi/gen-spec.ts index 3643887f7..74dfdac38 100644 --- a/packages/backend/src/server/api/openapi/gen-spec.ts +++ b/packages/backend/src/server/api/openapi/gen-spec.ts @@ -183,6 +183,7 @@ export function genOpenapiSpec() { }, }, responses, + deprecated: endpoint.meta.stability === 'deprecated', }; const path = {