Skip to content

Commit

Permalink
Merge pull request #2 from isd-sgcu/fix/petProto
Browse files Browse the repository at this point in the history
fix: remove pattern in Pet proto and add max/minAge in FindAll
  • Loading branch information
macgeargear authored Jan 17, 2024
2 parents 8c4debf + 49f8eb0 commit 36b5a81
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions johnjud/backend/pet/v1/pet.proto
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ message Pet{
string birthdate = 4;
string gender = 5;
string color = 6;
string pattern = 7;
string pattern = 7 [deprecated=true];
string habit = 8;
string caption = 9;
repeated johnjud.file.image.v1.Image images = 10;
Expand All @@ -52,10 +52,12 @@ message FindAllPetRequest{
string gender = 3;
string color = 4;
string pattern = 5;
string age = 6;
string age = 6 [deprecated=true];
string origin = 7;
int32 pageSize = 8;
int32 page = 9;
int32 maxAge = 10;
int32 minAge = 11;
}

message FindAllPetResponse{
Expand Down

0 comments on commit 36b5a81

Please sign in to comment.