Skip to content

Commit 7fb1088

Browse files
authored
Merge branch 'main' into sync_availability_only_when_needed
2 parents 979266a + 6ff7908 commit 7fb1088

File tree

3 files changed

+7
-85
lines changed

3 files changed

+7
-85
lines changed

compiler/src/model/build-model.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,13 @@ export function compileEndpoints (): Record<string, model.Endpoint> {
102102
}
103103
})
104104
}
105+
106+
// temporary workaround for APIs that are serverless-only
107+
// until we can stop depending on rest-api-spec for availability
108+
if (api === 'project.tags') {
109+
delete map[api].availability.stack
110+
}
111+
105112
if (typeof spec.feature_flag === 'string') {
106113
map[api].availability.stack = { featureFlag: spec.feature_flag }
107114
}

output/openapi/elasticsearch-openapi.json

Lines changed: 0 additions & 81 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)