anz-bank / sysl

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

Fixes lint flagging existent endpoints as non-existent #1020

Closed andrewemeryanz closed 4 years ago

andrewemeryanz commented 4 years ago

Currently, applications that reference a simple, non-rest, endpoint are flagged as being non-existent:

App:
  Endpoint:
    App <- Endpoint  # linted as non-existent

This change fixes the above to avoid incorrectly linting the endpoint as non-existent.

Fixes #1019

codecov[bot] commented 4 years ago

Codecov Report

Merging #1020 into master will increase coverage by 1.02%. The diff coverage is 82.28%.

@@            Coverage Diff             @@
##           master    #1020      +/-   ##
==========================================
+ Coverage   83.35%   84.38%   +1.02%     
==========================================
  Files          73       77       +4     
  Lines       10609    10718     +109     
==========================================
+ Hits         8843     9044     +201     
+ Misses       1432     1354      -78     
+ Partials      334      320      -14     
Impacted Files Coverage Δ
pkg/mod/fs.go 67.16% <51.61%> (-2.65%) :arrow_down:
pkg/mod/github.go 55.85% <55.85%> (ø)
pkg/importer/importer.go 63.15% <63.15%> (ø)
pkg/mermaid/datamodeldiagram/datamodeldiagram.go 61.90% <68.42%> (+3.33%) :arrow_up:
pkg/parse/parse.go 85.01% <71.87%> (+1.03%) :arrow_up:
pkg/mod/gomodules.go 73.41% <77.77%> (ø)
pkg/mod/module.go 82.85% <79.31%> (+17.14%) :arrow_up:
pkg/parse/fs.go 90.90% <80.00%> (-9.10%) :arrow_down:
...g/mermaid/integrationdiagram/integrationdiagram.go 83.19% <82.45%> (-1.19%) :arrow_down:
pkg/importer/openapi.go 86.12% <85.45%> (-3.32%) :arrow_down:
... and 30 more