dify/packages/contracts/generated/api/console/ping/orpc.gen.ts
Stephen Zhou a84c2d36a3
style: format with vp fmt (#38803)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-12 15:57:46 +00:00

27 lines
512 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,
}