Releases: getkin/kin-openapi
Releases · getkin/kin-openapi
v0.132.0
What's Changed
- style: Use fmt.Sprint without formating by @gaiaz-iusipov in #1061
- openapi3filter: don't consume request body in
AuthenticatorFunc
by @jamietanna in #1064 - openapi2conv: fix for refs on items within additional properties by @roberth1988 in #1067
New Contributors
- @gaiaz-iusipov made their first contribution in #1061
- @roberth1988 made their first contribution in #1067
Full Changelog: v0.131.0...v0.132.0
v0.131.0
v0.130.0
What's Changed
- feat(openapi3gen): Customize json.RawMessage by @kyleconroy in #1050
- openapi3gen: Fix issue with separate component generated for time.Time by @d1vbyz3r0 in #1052
- openapi3filter: Remove redundant ExcludeResponseBody check by @tatsumack in #1056
- openapi3: use origin to minimize collisions by @reuvenharrison in #1057
- openapi3: delete origin keys only when IncludeOrigin=true by @reuvenharrison in #1055
- openapi3filter: apply default values of an array in a query param with exploded = false by @nhochstr in #1054
New Contributors
- @kyleconroy made their first contribution in #1050
- @d1vbyz3r0 made their first contribution in #1052
- @tatsumack made their first contribution in #1056
- @nhochstr made their first contribution in #1054
Full Changelog: v0.129.0...v0.130.0
v0.129.0
What's Changed
- README: add Fuego to dependents by @EwenQuim in #1017
- openapi3: skip a test in CI to avoid 403s from some remote server by @fenollp in #1019
- openapi3: introduce StringMap type to enable unmarshalling of maps with Origin by @reuvenharrison in #1018
- openapi3: reference originating locations in YAML specs - step 1 by @reuvenharrison in #1007
- openapi3: reference originating locations in YAML specs - step 2 by @reuvenharrison in #1024
- openapi3: process discriminator mapping values as refs by @jgresty in #1022
- openapi3filter: register decoder for other JSON content types by @oliverli in #1026
- Revert "openapi3: process discriminator mapping values as refs" by @fenollp in #1029
- openapi3: fail to load spec because of schema names in mapping by @reuvenharrison in #1027
- openapi2conv: convert schemaRef for additional props by @jayanth-tatina-groww in #1030
- openapi3: simplify by replacing math.Min with min by @alexandear in #1032
- openapi3: fix deprecation comments by @alexandear in #1034
- test: fix expected-actual parameters in require.Equal by @alexandear in #1035
- use forked yaml modules without "replace" by @reuvenharrison in #1038
- openapi3: update date schema formats to not match months or days of '00' by @RulerOfTheQueendom in #1042
- openapi3,openapi3filter: replace interface{} with any by @alexandear in #1040
- openapi3filter: Simplify ValidateRequest implementation by @alexandear in #1041
- openapi3filter: validation of
x-www-form-urlencoded
with arbitrary nested allOf by @mikhalytch in #1046 - openapi2conv: convert references in nested additionalProperties schemas by @travisnewhouse in #1047
New Contributors
- @EwenQuim made their first contribution in #1017
- @jgresty made their first contribution in #1022
- @oliverli made their first contribution in #1026
- @jayanth-tatina-groww made their first contribution in #1030
- @RulerOfTheQueendom made their first contribution in #1042
- @mikhalytch made their first contribution in #1046
- @travisnewhouse made their first contribution in #1047
Full Changelog: v0.128.0...v0.129.0
v0.128.0
What's Changed
- openapi3filter: Fix default value for array in for query param by @Tommy-42 in #1000
- Add github.com/pb33f/libopenapi by @Jille in #1004
- Introduce an option to override the regex implementation by @alexbakker in #1006
- make form required field order deterministic by @jlsherrill in #1008
- openapi2: fix un/marshalling discriminator field by @reversearrow in #1011
New Contributors
- @Tommy-42 made their first contribution in #1000
- @Jille made their first contribution in #1004
- @alexbakker made their first contribution in #1006
- @jlsherrill made their first contribution in #1008
Full Changelog: v0.127.0...v0.128.0
v0.127.0
What's Changed
- openapi3: include local reference parts in refPath saved by @percivalalb in #978
- fix: update type: file to type: string and format: binary by @reversearrow in #980
- test: add a test for #499 by @AnatolyRugalev in #982
- test: add a test for #961 by @AnatolyRugalev in #981
- openapi3gen: generate "nullable: true" for pointers by @endertunc in #987
- openapi3filter: Remove inconsistency for arrays in queries by @TheSadlig in #990
- openapi3filter: remove double call by @AriehSchneier in #993
- openapi3filter: Fix default arrays application for query parameters by @TheSadlig in #992
- routers: downgrade gorilla/mux to v1.8.0 for #988 by @fenollp in #996
- openapi3: export
ComponentRef
for usage inRefNameResolver
by @fenollp in #998 - Add note on gorillamux by @fenollp in #999
New Contributors
- @reversearrow made their first contribution in #980
- @endertunc made their first contribution in #987
- @TheSadlig made their first contribution in #990
Full Changelog: v0.126.0...v0.127.0
v0.126.0
What's Changed
- openapi3: document v0.124.0 breaking API changes by @percivalalb in #964
- openapi3: introduce
ReferencesComponentInRootDocument(doc *T, ref componentRef) (string, bool)
by @percivalalb in #945 - Update Go module dependencies by @percivalalb in #965
- Move paragraph back to its correct section by @percivalalb in #967
- Replace interface{} with any by @percivalalb in #966
- openapi3: allow Extensions next to $ref in SchemaRef by @paulmach in #901
- openapi3: implement circular reference backtracking by @AnatolyRugalev in #970
- openapi3: improve ipv6 validation by @AnatolyRugalev in #971
- openapi3: resolve recursive file references by @AnatolyRugalev in #974
- openapi3: improve internalization ref naming to avoid collisions by @percivalalb in #955
- openapi3: add a test for additionalProperties: false validation by @AnatolyRugalev in #975
- openapi3: add support for number and integer format validators by @AnatolyRugalev in #976
- openapi3: allow YAML-marshaling invalid specs by @fenollp in #977
New Contributors
- @paulmach made their first contribution in #901
- @AnatolyRugalev made their first contribution in #970
Full Changelog: v0.125.0...v0.126.0
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
YAMLEq
function 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-urlencoded
decoder 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
type
field by @brandonbloom in #912 - openapi3: fix regex replacing
\u
literals 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