Repository navigation
v0.150.0
What's Changed
- openapi3: fix nil pointer panic in resolveExampleRef on null examples entry by @KrisKennawayDD in #1263
- openapi3: reject integers outside the int64 range for integer formats by @youdie006 in #1266
- openapi3: WalkSubtree walks a single schema; visit every subschema field by @reuvenharrison in #1267
- openapi3gen: make component schema selection deterministic by @EnriqueL8 in #1272
- openapi2conv: preserve response examples when converting to v3 by @jakezwang in #1273
- openapi3filter: trim whitespace in values of header arrays by @simonyang08 in #1261
- openapi3filter: don't duplicate empty query params when applying defaults by @TastyHeadphones in #1274
- openapi3filter: decode every values of header arrays and objects by @youdie006 in #1275
- openapi3: validate path parameter names as sets, not counts by @cpruijsen in #1276
- ci: bump to go 1.27 by @fenollp in #1277
- re-tidy up marshal error message after go1.27 by @fenollp in #1278
- openapi3filter: allow documented bodies with RejectWhenRequestBodyNotSpecified by @youssefcamao in #1280
- openapi3: preserve body example validation context by @SAY-5 in #1281
- openapi3: name an unused server URL variable as unused by @Yi-111-a in #1282
- openapi3filter: reduce buffered file body decoding allocations by @SAY-5 in #1283
- openapi2conv: keep basePath when Swagger 2.0 omits host by @Yi-111-a in #1285
- openapi3: validate security requirement scheme names by @SAY-5 in #1287
- openapi3: preserve component refs in JSON Schema 2020 validation by @lucky798213 in #1269
- openapi2: keep Responses Object extensions by @LuisFigueroaG in #1290
- Various fixes and improvements by @fenollp in #1291
- openapi3: validate recursive schemas below the root again by @fenollp in #1292
- openapi3: allow a schema to be both readOnly and writeOnly in 3.1 by @reuvenharrison in #1294
- openapi3: keep the structure of JSON Schema 2020-12 validation errors by @OlegVoytovich in #1295
- openapi3: accept unregistered and case-insensitive http security schemes by @LuisFigueroaG in #1293
- routers/gorillamux: keep path-level servers to their own path by @LuisFigueroaG in #1296
- openapi3: report readOnly/writeOnly violations as SchemaError by @fenollp in #1297
- openapi3: avoid tests leaking global format validators by @fenollp in #1298
- openapi3filter: guard body decoders registry behind a lock by @fenollp in #1299
- openapi3: save on GC when Validate()ing many-schemas documents by @fenollp in #1300
- openapi3: Validate() using the existing thread-safe regexp cache for noticeable perf improvements by @fenollp in #1301
- reduce the amount of tests that hang sequentially by @fenollp in #1302
- openapi3: no longer discard errors when Validate()ing Encoding's Headers by @fenollp in #1303
- openapi2,3: let Types decode a scalar type from YAML by @Yi-111-a in #1305
- tests: use each httptest server's own client by @fenollp in #1308
- openapi3: honor schema names in discriminator mapping when validating by @LuisFigueroaG in #1304
- Validate encodings, add a / decoder fallback (#481), and ignore case in media types by @fenollp in #1306
- ci: run Windows tests with GODEBUG=clobberfree=1 by @fenollp in #1310
- openapi3filter: reject duplicate member names in JSON bodies by @BogdanYarotsky in #1311
- openapi3: default explode to false for spaceDelimited and pipeDelimited query parameters by @LuisFigueroaG in #1315
- openapi2conv: inline referenced response headers in FromV3 by @LuisFigueroaG in #1317
- SchemaError refactoring by @fenollp in #1318
- ci: run Windows tests with asyncpreemptoff=1 by @fenollp in #1319
- Remove superfluous spaces by @fenollp in #1320
- 2-Go versions in CI + use test helpers by @fenollp in #1321
- openapi2conv: convert collectionFormat of query parameters by @LuisFigueroaG in #1322
- openapi3: default encoding explode to false for spaceDelimited and pipeDelimited by @LuisFigueroaG in #1316
- ci: cache fixtures dir /after/ checkout by @fenollp in #1323
New Contributors
- @KrisKennawayDD made their first contribution in #1263
- @youdie006 made their first contribution in #1266
- @jakezwang made their first contribution in #1273
- @simonyang08 made their first contribution in #1261
- @TastyHeadphones made their first contribution in #1274
- @cpruijsen made their first contribution in #1276
- @youssefcamao made their first contribution in #1280
- @Yi-111-a made their first contribution in #1282
- @lucky798213 made their first contribution in #1269
- @LuisFigueroaG made their first contribution in #1290
- @OlegVoytovich made their first contribution in #1295
- @BogdanYarotsky made their first contribution in #1311
Full Changelog: v0.149.0...v0.150.0