update schema responses

This commit is contained in:
AceDataCloud committed 2023-03-19 11:36:27 +08:00
1 parent e3a82d562f
commit a3f49d4b0b
5 files changed
+103 -23

No files matched your search

+5 -4
View File
@@ -14,14 +14,15 @@ export interface IForm {
}
export interface ISchema {
properties: {
properties?: {
[key: string]: ISchema;
};
enum: (string | number)[];
items?: ISchema[];
enum?: (string | number)[];
type: 'object' | 'array' | 'string' | 'number' | 'boolean';
title: string;
optional: boolean;
example: string | number;
optional?: boolean;
example?: string | number;
}
export interface IRequest {