Skip to content

Commit

Permalink
fix: add custom attributes to shipment
Browse files Browse the repository at this point in the history
  • Loading branch information
rikardq committed Jan 24, 2023
1 parent 5b49fdf commit 7e47dbe
Show file tree
Hide file tree
Showing 5 changed files with 171 additions and 118 deletions.
139 changes: 80 additions & 59 deletions cmd/saga/gen/einride/saga/extend/book/v1beta1/shipment.pb.go

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

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

5 changes: 5 additions & 0 deletions openapiv2/book.swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,11 @@ definitions:
v1beta1Shipment:
type: object
properties:
annotations:
type: object
additionalProperties:
type: string
title: Annotations for the shipment
booking:
type: string
description: Resource name of the booking this shipment relates to.
Expand Down
3 changes: 3 additions & 0 deletions proto/einride/saga/extend/book/v1beta1/shipment.proto
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,7 @@ message Shipment {

// Vehicle information for the shipment
Vehicle vehicle = 21;

// Annotations for the shipment
map<string, string> annotations = 22;
}
Loading

0 comments on commit 7e47dbe

Please sign in to comment.