1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
| package org.ruoyi.common.chat.entity.chat;
|
| import lombok.Builder;
| import lombok.Data;
|
| import java.io.Serializable;
| import java.util.List;
| /**
| * 描述:方法参数类,扩展参数可以继承Parameters自己实现
| * 参考:
| * <pre>
| * {
| * "type": "object",
| * "properties": {
| * "location": {
| * "type": "string",
| * "description": "The city and state, e.g. San Francisco, CA"
| * },
| * "unit": {"type": "string", "enum": ["celsius", "fahrenheit"]}
| * },
| * "required": ["location"]
| * }
| * </pre>
| * @author https:www.unfbx.com
| * @since 2023-06-14
| */
| @Data
| @Builder
| public class Parameters implements Serializable {
| /**
| * 参数类型
| */
| private String type;
| /**
| * 参数属性、描述
| */
| private Object properties;
| /**
| * 方法必输字段
| */
| private List<String> required;
| }
|
|