A tool to upgrade a design definition for Goa from v1 to v3
$ go get github.com/goadesign/goadesignupgrader/...$ goadesignupgrader [design package]You can use -fix flag to apply all suggested fixes.
$ goadesignupgrader -fix [design package]It's recommended to use together with gormt.
$ goadesignupgrader -fix [design package]; gofmt -s -w .- Import declarations
- HTTP status constants
DateTimeInteger
ActionBasePathCONNECTCanonicalActionNameConsumesDELETEDefaultMediaGETHEADHashOfHeadersMediaMediaTypeMetadataOPTIONSPATCHPOSTPUTParamsParentProducesResourceResponseRoutingStatusTRACE