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

Configure the schema format if the email validator is set #83

Closed mcorbin closed 2 years ago

mcorbin commented 2 years ago

This commit set the schema format to "email" if the email validator is set on a field.

codecov[bot] commented 2 years ago

Codecov Report

Merging #83 (923277f) into master (923277f) will not change coverage. The diff coverage is n/a.

:exclamation: Current head 923277f differs from pull request most recent head c4349ba. Consider uploading reports for the commit c4349ba to get more accurate results

@@           Coverage Diff           @@
##           master      #83   +/-   ##
=======================================
  Coverage   94.91%   94.91%           
=======================================
  Files           7        7           
  Lines         964      964           
=======================================
  Hits          915      915           
  Misses         33       33           
  Partials       16       16           

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 923277f...c4349ba. Read the comment docs.