Skip to content

Commit

Permalink
feat: add content digest to contract & regenerate golang proto (#131)
Browse files Browse the repository at this point in the history
* feat: add content digest to contract & regenerate golang proto

* fix: add json name
  • Loading branch information
andrewshan authored Dec 1, 2024
1 parent b8eb21f commit 2be44ff
Show file tree
Hide file tree
Showing 24 changed files with 10,004 additions and 18,830 deletions.
4 changes: 4 additions & 0 deletions api/v1/service_manage/contract.proto
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ message ServiceContract {
string type = 14;
// 标签
map<string, string> metadata = 15;
// 内容摘要
string content_digest = 16 [ json_name = "content_digest" ];
}

message InterfaceDescriptor {
Expand Down Expand Up @@ -74,4 +76,6 @@ message InterfaceDescriptor {
string version = 13;
// 类型
string type = 14;
// 内容摘要
string content_digest = 15 [ json_name = "content_digest" ];
}
Loading

0 comments on commit 2be44ff

Please sign in to comment.