Releases: getkin/kin-openapi
Releases · getkin/kin-openapi
v0.118.0
What's Changed
- fix crash on load by @reuvenharrison in #795
- openapi3: fix #796 infinite loop during document validation by @radwaretaltr in #797
New Contributors
- @radwaretaltr made their first contribution in #797
Full Changelog: v0.117.0...v0.118.0
v0.117.0
What's Changed
- openapi3gen: fix panic when embedded type is not a struct by @nrwiersma in #792
- openapi3filter: fix oneOF validation in query params by @ju-zp in #790
New Contributors
Full Changelog: v0.116.0...v0.117.0
v0.116.0
What's Changed
- feat: support nil uuid by @zekth in #778
- openapi3filter: introduce
func ConvertErrors(err error) error
by @QifanWuCFLT in #783 - openapi3filter: drop useless DefaultOptions by @fenollp in #785
New Contributors
- @QifanWuCFLT made their first contribution in #783
Full Changelog: v0.115.0...v0.116.0
v0.115.0
What's Changed
- cmd/validate: more expressive errors by @fenollp in #769
- openapi3: fix an infinite loop that may have been introduced in #700 by @fenollp in #768
- openapi3: fix default values count even when disabled (#767) by @orshlom in #770
- openapi3: sort extra fields only once, during deserialization by @fenollp in #773
Full Changelog: v0.114.0...v0.115.0
v0.114.0
What's Changed
- Fix additional properties false not validated by @ori-shalom in #747
- Refine schema error reason message by @ori-shalom in #748
- openapi3: fix validation of non-empty interface slice value against array schema by @andrewyang96 in #752
- openapi3: empty scopes are valid by @nodar963 in #754
- openapi3: fix integer enum schema validation after json.Number PR by @k2tzumi in #755
- optional readOnly and writeOnly validations by @orshlom in #758
- openapi3: fix resolving Callbacks by @ShouheiNishi in #757
- fixup some coding style divergences by @fenollp in #760
- openapi3: make
bad data ...
error more actionable by @fenollp in #761 - openapi3: add test from #731 showing validating doc first is required by @fenollp in #762
New Contributors
- @andrewyang96 made their first contribution in #752
- @nodar963 made their first contribution in #754
- @orshlom made their first contribution in #758
Full Changelog: v0.113.0...v0.114.0
v0.113.0
What's Changed
- openapi3: remove email string format by @zekth in #727
- openapi3filter: support for allOf request schema in multipart/form-data by @k2tzumi in #729
- Disallow unexpected fields in validation and drop
jsoninfo
package by @fenollp in #728 - openapi3filter: RegisterBodyDecoder for application/zip by @k2tzumi in #730
- Keep track of API changes with CI by @fenollp in #732
- openapi3filter: RegisterBodyDecoder for text/csv by @k2tzumi in #734
- #741 uri cache mutex by @grahamcrowell in #742
- Specify UseNumber() in the JSON decoder during JSON validation by @ShouheiNishi in #738
- openapi3: fix error phrase in security scheme by @Jefftree in #745
- openapi3: remove value data from
SchemaError.Reason
field by @ori-shalom in #737
New Contributors
- @zekth made their first contribution in #727
- @k2tzumi made their first contribution in #729
- @grahamcrowell made their first contribution in #742
- @Jefftree made their first contribution in #745
- @ori-shalom made their first contribution in #737
Full Changelog: v0.112.0...v0.113.0
v0.112.0
What's Changed
- Leave allocation capacity guessing to the runtime by @fenollp in #716
- openapi3filter: validate non-string headers by @slessard in #712
- openapi3: unexport ValidationOptions fields and add some more by @fenollp in #717
- openapi3: introduce (Paths).InMatchingOrder() paths iterator by @fenollp in #719
- feat: improve error reporting for bad/missing discriminator by @gward in #718
- openapi3: continue validation on valid oneOf properties by @fenollp in #721
- openapi3filter: use option to skip setting defaults on validation by @orensolo in #708
New Contributors
Full Changelog: v0.111.0...v0.112.0
v0.111.0
What's Changed
- Add variadic options to Validate method by @fenollp in #692
- fix: setting defaults for oneOf and anyOf by @tomato0111 in #690
- Try decoding as JSON first then YAML, for speed by @fenollp in #693
- Use and update GetBody() member of request by @ShouheiNishi in #704
- Bugfix/issue638 by @ShouheiNishi in #700
- Add json patch support by @ShouheiNishi in #702
- openapi3filter: Include schema ref or title in response body validation errors by @slessard in #699
- openapi3filter: parse integers with strconv.ParseInt instead of ParseFloat by @slessard in #711
- Fix inconsistent processing of server variables in gorillamux router by @slessard in #705
- Fix links to OpenAPI spec after GitHub changes by @fenollp in #714
- openapi3: patch YAML serialization of dates by @cosnicolaou in #698
New Contributors
- @tomato0111 made their first contribution in #690
- @ShouheiNishi made their first contribution in #704
- @cosnicolaou made their first contribution in #698
Full Changelog: v0.110.0...v0.111.0
v0.110.0
What's Changed
- openapi3filter: fix crash when given arrays of objects as query parameters by @orensolo in #664
- fix: error path is lost (#681) by @micronull in #682
- feat: formatting some error messages by @eloycoto in #684
- fix: query param pattern by @orensolo in #665
- fix: errors in oneOf not contain path (#676) by @micronull in #677
- fix tests after merge train by @fenollp in #686
- Internalize recursive external references #618 by @kkroo in #655
New Contributors
Full Changelog: v0.109.0...v0.110.0
v0.109.0
What's Changed
- Add CodeQL workflow for GitHub code scanning by @lgtm-com in #661
- Support x-nullable by @krak3n in #670
- Update content length after replacing request body by @borodiychuk in #672
- fix: optional defaults by @orensolo in #662
- fix: wrap the error that came back from the callback (#674) by @micronull in #675
- fix: openapi3.SchemaError message customize (#678) by @micronull in #679
New Contributors
- @lgtm-com made their first contribution in #661
- @krak3n made their first contribution in #670
- @borodiychuk made their first contribution in #672
- @orensolo made their first contribution in #662
Full Changelog: v0.108.0...v0.109.0