Skip to content

Commit

Permalink
review comments implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
SamJaarsma committed Jan 11, 2024
1 parent de22863 commit e22b765
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package cmp.services.accommodation.v1alpha1;
import "cmp/types/v1alpha1/location.proto";
import "cmp/types/v1alpha1/meal_plan.proto";
import "cmp/types/v1alpha1/rate.proto";
import "cmp/types/v1alpha1/product_list.proto";
import "cmp/types/v1alpha1/product_code.proto";

// ### Accommodation Search Parameters
//
Expand Down Expand Up @@ -45,5 +45,5 @@ message AccommodationSearchParameters {

// Product code list
// Here a list of property codes would be used
repeated cmp.types.v1alpha1.ProductList product_list = 9;
repeated cmp.types.v1alpha1.ProductCode product_codes = 9;
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ syntax = "proto3";

package cmp.types.v1alpha1;

// Product list code and type
// Product code and type
//
// This is being used in requests to specify the a list of products to be included in the reponse
//
// ![Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/types/v1alpha1/product-list.proto.dot.xs.svg)
// [Open Message Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/types/v1alpha1/product-list.proto.dot.svg)
message ProductList {
string product_code = 1;
ProductCodeType product_code_type = 2;
// ![Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/types/v1alpha1/product_code.proto.dot.xs.svg)
// [Open Message Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/types/v1alpha1/product_code.proto.dot.svg)
message ProductCode {
string code = 1;
ProductCodeType type = 2;
}

// Product Code type
Expand Down

0 comments on commit e22b765

Please sign in to comment.