We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3aa7d8f commit 0e50b48Copy full SHA for 0e50b48
codegen/lib/layout/api-endpoint.ts
@@ -40,6 +40,8 @@ export interface ApiEndpointLayoutContext {
40
workspaceScope: SeamWorkspaceScope
41
isAlpha: boolean
42
alphaMessage: string | undefined
43
+ isDeprecated: boolean
44
+ deprecationMessage: string
45
request: {
46
preferredMethod: string
47
parameters: ApiEndpointParameter[]
@@ -124,6 +126,8 @@ export function setEndpointLayoutContext(
124
126
file.workspaceScope = endpoint.workspaceScope
125
127
file.isAlpha = (metadata.alpha ?? '').length > 0
128
file.alphaMessage = metadata.alpha
129
+ file.isDeprecated = endpoint.isDeprecated
130
+ file.deprecationMessage = endpoint.deprecationMessage
131
132
file.authMethods = endpoint.authMethods
133
.filter(
0 commit comments