anz-bank / sysl

Sysl (pronounced "sizzle") is a system specification language
https://sysl.io
Apache License 2.0
122 stars 42 forks source link

Revert "Refactor Endpoints (#922)" #935

Closed cuminandpaprika closed 4 years ago

cuminandpaprika commented 4 years ago

Revert https://github.com/anz-bank/sysl/pull/922 as it breaks sysl transforms as they expect an error type rather than an error code

This reverts commit 46abf49699f26f4437ddc3e80de0531dc6842b65.

codecov[bot] commented 4 years ago

Codecov Report

Merging #935 into master will increase coverage by 0.03%. The diff coverage is 83.56%.

@@            Coverage Diff             @@
##           master     #935      +/-   ##
==========================================
+ Coverage   83.35%   83.38%   +0.03%     
==========================================
  Files          73       75       +2     
  Lines       10609    10779     +170     
==========================================
+ Hits         8843     8988     +145     
- Misses       1432     1451      +19     
- Partials      334      340       +6     
Impacted Files Coverage Δ
pkg/pbutil/output.go 76.00% <ø> (-0.48%) :arrow_down:
pkg/importer/importer.go 63.15% <63.15%> (ø)
pkg/mod/gomod.go 73.68% <66.66%> (+1.27%) :arrow_up:
pkg/parse/listener_impl.go 89.59% <66.66%> (+0.08%) :arrow_up:
pkg/parse/parse.go 83.47% <69.56%> (-0.50%) :arrow_down:
pkg/mod/module.go 66.66% <72.72%> (+0.95%) :arrow_up:
pkg/importer/swagger.go 76.00% <73.33%> (-3.60%) :arrow_down:
pkg/importer/formats.go 77.27% <77.27%> (ø)
pkg/importer/openapi.go 90.00% <83.75%> (+0.55%) :arrow_up:
pkg/importer/xsd.go 91.01% <95.23%> (+0.64%) :arrow_up:
... and 10 more