go-openapi / spec

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

changes for go-swagger #2054 - extension fields in info.contact do no… #113

Closed kul-amr closed 4 years ago

kul-amr commented 4 years ago

This is part of bug fix for go-swagger/go-swagger#2054. This fix will include extension/custom fields from Contact and License to the spec served by the generated server.

codecov[bot] commented 4 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@901ea3c). Click here to learn what that means. The diff coverage is 55.17%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #113   +/-   ##
=========================================
  Coverage          ?   58.42%           
=========================================
  Files             ?       24           
  Lines             ?     2189           
  Branches          ?        0           
=========================================
  Hits              ?     1279           
  Misses            ?      736           
  Partials          ?      174
Impacted Files Coverage Δ
ref.go 48.83% <ø> (ø)
schema_loader.go 91.04% <100%> (ø)
license.go 50% <50%> (ø)
contact_info.go 50% <50%> (ø)
expander.go 73.54% <75%> (ø)

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 901ea3c...0e75b9f. Read the comment docs.

casualjim commented 4 years ago

can you run: goimports -w $(find . -name '*.go')