wI2L / fizz

:lemon: Gin wrapper with OpenAPI 3 spec generation
https://pkg.go.dev/github.com/wI2L/fizz
MIT License
214 stars 52 forks source link

Add SetServers to manually configure spec servers #19

Closed wayt closed 6 years ago

wayt commented 6 years ago

This will allow configuring custom servers for OpenAPI Specs

codecov[bot] commented 6 years ago

Codecov Report

Merging #19 into master will increase coverage by <.01%. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #19      +/-   ##
=======================================
+ Coverage   96.99%   97%   +<.01%     
=======================================
  Files           7     7              
  Lines         866   868       +2     
=======================================
+ Hits          840   842       +2     
  Misses         14    14              
  Partials       12    12
Impacted Files Coverage Δ
openapi/generator.go 95.47% <100%> (+0.01%) :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 6dc0806...c8c5564. Read the comment docs.

wI2L commented 6 years ago

Ok to me, could you please give me the permissions on the branch by clicking "Allow edits from maintainers", see here on the right sidebar of this page so that I can update the PR and add tests for this. Thanks

wayt commented 6 years ago

Sure, I did it.

I couldn't find any relevant test for this. What do you have in mind ?

wI2L commented 6 years ago

Squashed and co-authored. Thanks for the PR.