Releases: getkin/kin-openapi
Releases · getkin/kin-openapi
v0.125.0
What's Changed
- Revert "openapi3gen: add CreateComponentSchemas option to export object schemas to components" and add with the correct contributors by @EnriqueL8 in #937
- openapi3: keep oneOf context in markSchemaErrorKey (#940) by @jordan-wu-97 in #941
- docs: add github.com/a-h/rest to projects list by @a-h in #942
- openapi4filter: improve CSV resp decoder performance by @mpoqq in #948
- openapi3filter: ensure key matches param name before decoding in
(*urlValuesDecoder) DecodeObject(..)by @MateusFrFreitas in #947 - openapi3: ensure YAML marshalling matches JSON's by @damien-talos in #943
- openapi{2,3}: surface both json/yaml unmarshal errors by @timothympace in #950
- openapi3(tests): use testify's
YAMLEqfunction by @percivalalb in #954 - openapi3filter: add context to Validator Middleware's ErrFunc and LogFunc functions by @crissi98 in #953
- openapi3: move ref codegen to Go by @percivalalb in #956
- changelog: note API breakage from #953 by @fenollp in #957
- openapi3: internalize refs for path parameters by @selaux in #960
- ci: drop CodeQL by @fenollp in #962
New Contributors
- @EnriqueL8 made their first contribution in #937
- @jordan-wu-97 made their first contribution in #941
- @a-h made their first contribution in #942
- @mpoqq made their first contribution in #948
- @MateusFrFreitas made their first contribution in #947
- @damien-talos made their first contribution in #943
- @timothympace made their first contribution in #950
- @percivalalb made their first contribution in #954
- @crissi98 made their first contribution in #953
- @selaux made their first contribution in #960
Full Changelog: v0.124.0...v0.125.0
v0.124.0
What's Changed
- ci: make sure go-run'ing binaries works by @fenollp in #894
- Make the JSON body decode public by @cdent in #896
- add Delete operation to maplike structs by @tcdsv in #899
- openapi3filter: fix
x-www-form-urlencodeddecoder for oneOf, anyOf, and allOf by @imtaketa in #903 - openapi3filter: add
Unwrap()method to SecurityRequirementsError by @nickajacks1 in #905 - Make Loader testable by @reuvenharrison in #906
- openapi3filter: support deepObject with nested objects and array parameters by @danicc097 in #911
- openapi2,3: support array of types in
typefield by @brandonbloom in #912 - openapi3: fix regex replacing
\uliterals by @thiagownt in #918 - openapi3filter: fix array of primitives query parameter types by @danicc097 in #921
- openapi3: Implement YAML Marshaler interface for AdditionalProperties by @praneetloke in #922
- openapi3filter: deepObject array of objects and array of arrays support by @danicc097 in #923
- openapi3gen: allow overriding how a Schema is generated by @taufik-rama in #920
- openapi3gen: rename example to show up in docs by @fenollp in #932
- openapi3: implement YAML Marshaller interface for paths and responses by @nobbynobbs in #931
- openapi3filter: some syntax tweaks by @fenollp in #933
- openapi3: tests for #931 by @fenollp in #887
- openapi3filter: guard BodyEncoder registration behind a RW lock by @fenollp in #934
- openapi3gen: add CreateComponentSchemas option to export object schemas to components by @fenollp in #935
New Contributors
- @cdent made their first contribution in #896
- @tcdsv made their first contribution in #899
- @imtaketa made their first contribution in #903
- @nickajacks1 made their first contribution in #905
- @brandonbloom made their first contribution in #912
- @thiagownt made their first contribution in #918
- @taufik-rama made their first contribution in #920
- @nobbynobbs made their first contribution in #931
Full Changelog: v0.123.0...v0.124.0
v0.123.0
What's Changed
- Update README.md by @syordanov94 in #881
- openapi3: optimize Unmarshal for maplike structs by @fenollp in #882
- feat(openapi3filter): add ExludeRequestQuery by @zekth in #886
- feat: support default value binding with allOfSchema by @podhmo in #885
- openapi3: fix abort logic of validation for schemas with anyOf, allOf, oneOf by @AmadeusK525 in #892
- cmd/validate: re-enable go run ...@latest now that unsafe dep sums are dropped by @fenollp in #888
New Contributors
- @syordanov94 made their first contribution in #881
- @podhmo made their first contribution in #885
Full Changelog: v0.122.0...v0.123.0
v0.122.0
v0.121.0
What's Changed
- Replace deprecated io/ioutil with io by @alexandear in #840
- fix compile errors in README example code by @Jumpaku in #842
- openapi3: add length of circular reference to error message by @jamietanna in #839
- openapi2conv: fix that removes an extra
requiredarray fromformDataBodyby @liankui in #848 - openapi3: fix schema validation for
anyOf,allOf,oneOfoperations by @AmadeusK525 in #850 - reproduce incorrect allOf + nullable behaviour by @fenollp in #253
- reproduce issue #423 by @fenollp in #432
- openapi2conv: expose loader and location to ToV3 by @AriehSchneier in #851
- openAPI3 template T class add server helper function by @spdrcd in #852
- openapi3: handle tangible *nil in Schema.IsEmpty impl by @fenollp in #858
- openapi3: no longer error when drilling into a silenced yaml tag by @fenollp in #859
- openapi3: shave some tests by @fenollp in #862
- openapi3: refacto drill bit by @fenollp in #865
- openapi3: unify Loader.resolve*Ref impls by @fenollp in #863
- openapi3: refacto path resolving, remove a couple error cases by @fenollp in #864
- openapi3: fast path drilling into UFO-type refs by @fenollp in #866
- cmd/validate: read v2 documents that dont mention swagger as well by @fenollp in #868
- openapi3: save some allocs when checking extras in refs by @fenollp in #869
- openapi3: fix validating extra siblings in remote refs by @fenollp in #872
- openapi3: reclaims Extensions unused mem post-unmarshal by @fenollp in #871
- openapi3: handle refs missing fragment by @fenollp in #511
- openapi3: support \uC4FE codepoint syntax in Schema.Pattern by @fenollp in #873
- close #594: yaml "control characters are not allowed" no longer reproducible by @fenollp in #597
- openapi{2,3}: simplify unmarshal errors by @fenollp in #870
- openapi3: refacto ref-resolving end conditions by @fenollp in #874
- openapi3: rename type of Components.Responses to ResponseBodies (from Responses) by @fenollp in #875
- openapi3: correct implementations of JSONLookup by @fenollp in #876
New Contributors
- @Jumpaku made their first contribution in #842
- @jamietanna made their first contribution in #839
- @liankui made their first contribution in #848
- @AmadeusK525 made their first contribution in #850
- @AriehSchneier made their first contribution in #851
- @spdrcd made their first contribution in #852
Full Changelog: v0.120.0...v0.121.0
v0.120.0
What's Changed
- fix/ update version of go to 1.20 by @lyndonhebditch-aviva in #837
- openapi3: add missing document parameter validations by @radwaretaltr in #835
- Exclude gopkg.in/yaml.v3 v3.0.0 by @natehart in #838
New Contributors
- @lyndonhebditch-aviva made their first contribution in #837
- @natehart made their first contribution in #838
Full Changelog: v0.119.0...v0.120.0
v0.119.0
What's Changed
- openapi3,routers: simplify code by @alexandear in #800
- lint: fix typos in comments, tests and README by @alexandear in #799
- openapi3: fix checks in tests by @alexandear in #801
- Add projectsveltos addon-controller by @gianlucam76 in #802
- openapi3: fix links to JSONPointable iface by @fenollp in #803
- openapi3: late Spring cleanup by @fenollp in #804
- openapi3: split info.go three ways by @fenollp in #805
- openapi3filter: simplify validation test by @alexandear in #806
- openapi3,openapi3filter: refactor bytes.Buffer creation by @alexandear in #807
- openapi3: spell "marshal" with one "l" for consistency by @alexandear in #808
- openapi3: refactor tests: use BoolPtr, require.Same by @alexandear in #809
- openapi3,openapi3filter: fix typos in comments, tests by @alexandear in #810
- openapi3: fix #775 race on schema pattern regex compilation by @fenollp in #811
- openapi3: move helpers to their own dedicated file by @fenollp in #813
- cmd/validate: support setting openapi3.CircularReferenceCounter by @fenollp in #815
- Support loading from stdin by @const-tmp in #820
- Fix Enum Query Parameters by @mgross-ebner in #822
- Use os.ReadFile instead of ioutil.ReadFile by @fenollp in #691
- sponsor: Speakeasy Rebrand by @fenollp in #826
- openapi3: support patterned fields in Responses (#819) by @mgirouard in #827
- sponsor: toggle logo in dark/light modes by @fenollp in #829
- openapi3: fix format error when Header marshal to YAML by @caixw in #823
- openapi3: fix func doc after #823 by @fenollp in #830
- openapi3: fix ref internalization by @radwaretaltr in #832
New Contributors
- @gianlucam76 made their first contribution in #802
- @const-tmp made their first contribution in #820
- @mgross-ebner made their first contribution in #822
- @mgirouard made their first contribution in #827
- @caixw made their first contribution in #823
Full Changelog: v0.118.0...v0.119.0
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) errorby @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