mirror of
https://github.com/langgenius/dify.git
synced 2026-05-25 19:37:16 +08:00
41 lines
1.1 KiB
TypeScript
41 lines
1.1 KiB
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import { oc } from '@orpc/contract'
|
|
|
|
import { zGetSpecSchemaDefinitionsResponse } from './zod.gen'
|
|
|
|
/**
|
|
* Get system JSON Schema definitions specification
|
|
*
|
|
* Used for frontend component type mapping
|
|
*
|
|
* Generated contract types may be inaccurate because backend OpenAPI annotations are incomplete. Do not migrate callers until the generated contract is accurate.
|
|
*
|
|
* @deprecated
|
|
*/
|
|
export const get = oc
|
|
.route({
|
|
deprecated: true,
|
|
description:
|
|
'Used for frontend component type mapping\n\nGenerated contract types may be inaccurate because backend OpenAPI annotations are incomplete. Do not migrate callers until the generated contract is accurate.',
|
|
inputStructure: 'detailed',
|
|
method: 'GET',
|
|
operationId: 'getSpecSchemaDefinitions',
|
|
path: '/spec/schema-definitions',
|
|
summary: 'Get system JSON Schema definitions specification',
|
|
tags: ['console'],
|
|
})
|
|
.output(zGetSpecSchemaDefinitionsResponse)
|
|
|
|
export const schemaDefinitions = {
|
|
get,
|
|
}
|
|
|
|
export const spec = {
|
|
schemaDefinitions,
|
|
}
|
|
|
|
export const contract = {
|
|
spec,
|
|
}
|