mirror of
https://github.com/langgenius/dify.git
synced 2026-03-23 15:27:53 +08:00
21 lines
878 B
TypeScript
21 lines
878 B
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import { z } from 'zod'
|
|
|
|
import { zGetChatAppParametersData, zGetChatAppParametersResponse } from '../../zod/api/parameters'
|
|
import { base } from '../common'
|
|
|
|
/**
|
|
* Get Application Parameters Information
|
|
*
|
|
* Used at the start of entering the page to obtain information such as features, input parameter names, types, and default values.
|
|
*/
|
|
export const getChatAppParametersContract = base.route({
|
|
path: '/parameters',
|
|
method: 'GET',
|
|
operationId: 'getChatAppParameters',
|
|
summary: 'Get Application Parameters Information',
|
|
description: 'Used at the start of entering the page to obtain information such as features, input parameter names, types, and default values.',
|
|
tags: ['Application'],
|
|
}).input(zGetChatAppParametersData).output(z.object({ body: zGetChatAppParametersResponse, status: z.literal(200) }))
|