Skip to content

Commit

Permalink
Merge pull request #7138 from transcom/mb-4704-request-reweigh
Browse files Browse the repository at this point in the history
MB-4704 Add endpoint to request reweigh
  • Loading branch information
monfresh authored Aug 9, 2021
2 parents bcfff8d + 0cdba00 commit b4c6dbe
Show file tree
Hide file tree
Showing 22 changed files with 1,669 additions and 10 deletions.
5 changes: 5 additions & 0 deletions pkg/gen/ghcapi/configure_mymove.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,11 @@ func configureAPI(api *ghcoperations.MymoveAPI) http.Handler {
return middleware.NotImplemented("operation shipment.RequestShipmentDiversion has not yet been implemented")
})
}
if api.ShipmentRequestShipmentReweighHandler == nil {
api.ShipmentRequestShipmentReweighHandler = shipment.RequestShipmentReweighHandlerFunc(func(params shipment.RequestShipmentReweighParams) middleware.Responder {
return middleware.NotImplemented("operation shipment.RequestShipmentReweigh has not yet been implemented")
})
}
if api.TacTacValidationHandler == nil {
api.TacTacValidationHandler = tac.TacValidationHandlerFunc(func(params tac.TacValidationParams) middleware.Responder {
return middleware.NotImplemented("operation tac.TacValidation has not yet been implemented")
Expand Down
222 changes: 222 additions & 0 deletions pkg/gen/ghcapi/embedded_spec.go

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

12 changes: 12 additions & 0 deletions pkg/gen/ghcapi/ghcoperations/mymove_api.go

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

58 changes: 58 additions & 0 deletions pkg/gen/ghcapi/ghcoperations/shipment/request_shipment_reweigh.go

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

Loading

0 comments on commit b4c6dbe

Please sign in to comment.