mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-12 18:11:34 +08:00
update api doc
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user