From 1ebdfcea89a3b202faa89066cc245c92fa839fd3 Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Wed, 15 Oct 2025 12:15:17 +0400 Subject: [PATCH 1/2] Revert "Serverless-only availability hack (#5431)" This reverts commit a996fa3ae784698cb0bcc17d0dff7567931eb30c. --- compiler/src/model/build-model.ts | 7 ------- output/schema/schema.json | 4 ++++ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/compiler/src/model/build-model.ts b/compiler/src/model/build-model.ts index fe24ed7816..1f4ff21981 100644 --- a/compiler/src/model/build-model.ts +++ b/compiler/src/model/build-model.ts @@ -102,13 +102,6 @@ export function compileEndpoints (): Record { } }) } - - // temporary workaround for APIs that are serverless-only - // until we can stop depending on rest-api-spec for availability - if (api === 'project.tags') { - delete map[api].availability.stack - } - if (typeof spec.feature_flag === 'string') { map[api].availability.stack = { featureFlag: spec.feature_flag } } diff --git a/output/schema/schema.json b/output/schema/schema.json index dbffa0b55a..4265d73385 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -16640,6 +16640,10 @@ "serverless": { "stability": "experimental", "visibility": "public" + }, + "stack": { + "stability": "experimental", + "visibility": "public" } }, "description": "Get tags.\nGet the tags that are defined for the project.", From 2daa188219f19bbf92441a152c7d57ca939606eb Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Wed, 15 Oct 2025 12:19:46 +0400 Subject: [PATCH 2/2] Run make contrib --- output/schema/schema.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/output/schema/schema.json b/output/schema/schema.json index 4265d73385..dbffa0b55a 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -16640,10 +16640,6 @@ "serverless": { "stability": "experimental", "visibility": "public" - }, - "stack": { - "stability": "experimental", - "visibility": "public" } }, "description": "Get tags.\nGet the tags that are defined for the project.",