Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions compiler/src/model/build-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@ export function compileEndpoints (): Record<string, model.Endpoint> {
}
})
}

// 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
}
Expand Down
9 changes: 1 addition & 8 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading