go-openapi / spec

openapi specification object model
Apache License 2.0
389 stars 98 forks source link

fixed case of circular references #131

Closed fredbi closed 3 years ago

fredbi commented 3 years ago

Covers case with ExpandResponseWithRoot and ExpandParameterWithRoot

Signed-off-by: Frederic BIDON fredbi@yahoo.com

codecov[bot] commented 3 years ago

Codecov Report

Merging #131 (fb250bf) into master (1d0b8af) will increase coverage by 0.17%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #131      +/-   ##
==========================================
+ Coverage   58.76%   58.94%   +0.17%     
==========================================
  Files          25       25              
  Lines        1928     1934       +6     
==========================================
+ Hits         1133     1140       +7     
  Misses        614      614              
+ Partials      181      180       -1     
Impacted Files Coverage Δ
expander.go 71.75% <100.00%> (+0.48%) :arrow_up:
schema_loader.go 87.69% <0.00%> (-1.54%) :arrow_down:
schema.go 30.24% <0.00%> (+0.48%) :arrow_up:
normalizer.go 83.82% <0.00%> (+2.94%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1d0b8af...fb250bf. Read the comment docs.