update api doc

This commit is contained in:
Liujian
2025-02-15 10:58:13 +08:00
parent 3427d8fd07
commit 2bbddc81b1
+1 -1
View File
@@ -133,7 +133,7 @@ func genMessageSchema() *openapi3.Schema {
roleSchema.Example = "user"
contentSchema := openapi3.NewStringSchema()
contentSchema.Description = "The message content"
contentSchema.Example = "Hello, how can I help you?"
contentSchema.Example = "Hello, who are you?"
result.WithProperties(map[string]*openapi3.Schema{
"role": roleSchema,
"content": contentSchema,