-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation rework in message comments & optimize Email type (#32)
--------- Co-authored-by: Mohamed Elmoslemany <[email protected]> Co-authored-by: Noctunus <[email protected]> Co-authored-by: Ekrem Seren <[email protected]>
- Loading branch information
1 parent
e2666f0
commit ca03e72
Showing
16 changed files
with
470 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
syntax = "proto3"; | ||
|
||
package cmp.services.seat_map.v2; | ||
|
||
import "cmp/types/v1/common.proto"; | ||
import "cmp/types/v1/language.proto"; | ||
import "cmp/types/v2/seat_map.proto"; | ||
|
||
// Request for seat map data | ||
// | ||
// Requests the seat map data for a given map ID | ||
message SeatMapRequest { | ||
// Request header | ||
// | ||
// Header contains information about the request | ||
cmp.types.v1.RequestHeader header = 1; | ||
|
||
// Unique identifier for the seat map | ||
// | ||
// This is the map ID that is received in the search results and also from the | ||
// product info responses. | ||
string map_id = 2; | ||
|
||
// Requested Languages | ||
repeated cmp.types.v1.Language languages = 3; | ||
} | ||
|
||
// Response for seat map request | ||
// | ||
// Contains the seat map data for a given map ID | ||
message SeatMapResponse { | ||
// Response header | ||
// | ||
// Header contains information about the response | ||
cmp.types.v1.ResponseHeader header = 1; | ||
|
||
// Seat map data | ||
// | ||
// Contains the seat map data for the requested map ID | ||
cmp.types.v2.SeatMap seat_map = 2; | ||
} | ||
|
||
// Service for requesting seat map data for a given map ID | ||
// | ||
// ![Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/services/seat_map/v1/seat_map.proto.dot.xs.svg) | ||
// [Open Message Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/services/seat_map/v1/seat_map.proto.dot.svg) | ||
service SeatMapService { | ||
// Get seat map data | ||
// | ||
// Requests the seat map data for a given map ID | ||
rpc SeatMap(SeatMapRequest) returns (SeatMapResponse); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.