mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-14 20:41:15 +08:00
Merge branch 'feature/1.5-local-model' into 'main'
update api doc See merge request apipark/APIPark!188
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