mirror of
https://github.com/langgenius/dify.git
synced 2026-07-21 18:58:35 +08:00
28 lines
513 B
TypeScript
28 lines
513 B
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import { oc } from '@orpc/contract'
|
|
|
|
import { zGetPingResponse } from './zod.gen'
|
|
|
|
/**
|
|
* Health check endpoint for connection testing.
|
|
*/
|
|
export const get = oc
|
|
.route({
|
|
inputStructure: 'detailed',
|
|
method: 'GET',
|
|
operationId: 'getPing',
|
|
path: '/ping',
|
|
summary: 'Health check endpoint for connection testing.',
|
|
tags: ['console'],
|
|
})
|
|
.output(zGetPingResponse)
|
|
|
|
export const ping = {
|
|
get,
|
|
}
|
|
|
|
export const contract = {
|
|
ping,
|
|
}
|