Skip to content

Commit

Permalink
edit: transform snakecase
Browse files Browse the repository at this point in the history
  • Loading branch information
yeyee2901 committed Jan 19, 2023
1 parent 150b079 commit 88c2ce7
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
46 changes: 23 additions & 23 deletions gen/go/unitedb/v1/battle_items.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions gen/openapiv2/unitedb.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,12 @@
"format": "int64",
"title": "cooldown in seconds"
},
"trainerLevel": {
"trainer_level": {
"type": "integer",
"format": "int64",
"title": "trainer level requirement to unlock this item"
},
"lastUpdated": {
"last_updated": {
"type": "string",
"format": "date-time",
"title": "last updated time"
Expand Down
4 changes: 2 additions & 2 deletions unitedb/v1/battle_items.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ message BattleItem {
uint32 cooldown = 5;

// trainer level requirement to unlock this item
uint32 trainer_level = 6;
uint32 trainer_level = 6 [json_name="trainer_level"];

// last updated time
google.protobuf.Timestamp last_updated = 57;
google.protobuf.Timestamp last_updated = 57 [json_name="last_updated"];
}

message GetBattleItemRequest {
Expand Down

0 comments on commit 88c2ce7

Please sign in to comment.