go-openapi / spec

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

added helpers to manipulate validation in schemas and simple schemas #132

Closed fredbi closed 3 years ago

fredbi commented 3 years ago

This only adds things and does not alter the exposed interface or types.

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

codecov[bot] commented 3 years ago

Codecov Report

Merging #132 (b635cf7) into master (4d36578) will increase coverage by 2.53%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #132      +/-   ##
==========================================
+ Coverage   59.07%   61.60%   +2.53%     
==========================================
  Files          25       26       +1     
  Lines        1940     2068     +128     
==========================================
+ Hits         1146     1274     +128     
  Misses        614      614              
  Partials      180      180              
Impacted Files Coverage Δ
header.go 53.62% <100.00%> (+1.38%) :arrow_up:
items.go 51.80% <100.00%> (+1.18%) :arrow_up:
parameter.go 18.86% <100.00%> (+1.56%) :arrow_up:
schema.go 40.41% <100.00%> (+10.17%) :arrow_up:
validations.go 100.00% <100.00%> (ø)

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 4d36578...b635cf7. Read the comment docs.