Releases: getkin/kin-openapi
Releases · getkin/kin-openapi
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
v0.108.0
What's Changed
- fix: yaml marshal output by @stevenh in #649
- openapi3filter: add missing response headers validation by @fenollp in #650
- Fix lost error types in oneOf by @micronull in #658
- Add RegisterBodyEncoder by @kkroo in #656
- fix panic slice out of range error #652 by @nk2ge5k in #654
- Fixed recurive reference resolving when property referencies local co… by @derbylock in #660
New Contributors
- @stevenh made their first contribution in #649
- @micronull made their first contribution in #658
- @kkroo made their first contribution in #656
- @nk2ge5k made their first contribution in #654
- @derbylock made their first contribution in #660
Full Changelog: v0.107.0...v0.108.0
v0.107.0
What's Changed
- Fix validation of complex enum values by @fenollp in #647
- readOnly writeOnly validation by @danicc097 in #599
Full Changelog: v0.106.0...v0.107.0
v0.106.0
What's Changed
- Check for superfluous trailing whitespace by @fenollp in #636
- show errors in security requirements by @danicc097 in #637
Full Changelog: v0.105.0...v0.106.0
v0.105.0
What's Changed
- fix: embedded struct handling by @nrwiersma in #630
- openapi3filter: Fallback to string when decoding request parameters by @fenollp in #631
- Introduce
(openapi3.*Server).BasePath()
and(openapi3.Servers).BasePath()
by @fenollp in #633 - Actually #624, thanks to @orensolo by @fenollp in #634
New Contributors
- @nrwiersma made their first contribution in #630
Full Changelog: v0.104.0...v0.105.0
v0.104.0
What's Changed
- Validate default values against schema by @fenollp in #610
- fix: only inject default value for matched oneOf or anyOf by @nic-6443 in #604
- Deterministic validation by @fenollp in #602
- Improve error message when path validation fails by @praneetloke in #605
- Correctly resolve path of yaml resource if double referenced. by @d-sauer in #611
- Fix second level relative ref in property resolving by @wtertius in #622
- rework convertError Example code to show query schema error by @fenollp in #626
- Allow validations options when creating legace Router by @yclybouw in #614
- Additional error information by @danicc097 in #617
- Add SIMITGROUP`s repo to dependants shortlist by @fenollp in #627
- Introduce package-wide CircularReferenceCounter to work around #615 by @fenollp in #628
New Contributors
- @praneetloke made their first contribution in #605
- @d-sauer made their first contribution in #611
- @yclybouw made their first contribution in #614
Full Changelog: v0.103.0...v0.104.0