dify/packages/contracts/generated/api/console/mcp/orpc.gen.ts
2026-04-30 11:34:27 +00:00

32 lines
518 B
TypeScript

// This file is auto-generated by @hey-api/openapi-ts
import { oc } from '@orpc/contract'
import { zGetMcpOauthCallbackResponse } from './zod.gen'
export const get = oc
.route({
inputStructure: 'detailed',
method: 'GET',
operationId: 'getMcpOauthCallback',
path: '/mcp/oauth/callback',
tags: ['console'],
})
.output(zGetMcpOauthCallbackResponse)
export const callback = {
get,
}
export const oauth = {
callback,
}
export const mcp = {
oauth,
}
export const contract = {
mcp,
}