feat: pagination comment.

This commit is contained in:
tx7do
2023-11-06 18:08:56 +08:00
parent 34547d6ff9
commit 0c75b390be
3 changed files with 15 additions and 8 deletions

View File

@@ -64,7 +64,10 @@ message PagingRequest {
// 字段掩码
google.protobuf.FieldMask field_mask = 7 [
json_name = "fieldMask",
(gnostic.openapi.v3.property) = {description: "字段掩码"}
(gnostic.openapi.v3.property) = {
description: "字段掩码,如果为空则选中所有字段。",
example: {yaml : "id,realName,userName"}
}
];
}