mirror of
https://github.com/langgenius/dify.git
synced 2026-05-10 22:28:55 +08:00
32 lines
518 B
TypeScript
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,
|
|
}
|