mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 12:02:24 -04:00
35 lines
756 B
TypeScript
35 lines
756 B
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
|
|
*/
|
|
export const get = oc
|
|
.route({
|
|
description: 'Used for frontend component type mapping',
|
|
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,
|
|
}
|