Repository navigation
What's Changed
- Add fuzz targets by @fenollp in #1373
- openapi3: set the failing schema on JSON Schema 2020-12 validation errors by @frodeaa in #1378
- openapi3filter: parse number values as decimal only by @LuisFigueroaG in #1366
- Seed fuzzing using APIs-guru corpus, covering the YAML path + fix some crashes by @fenollp in #1380
- openapi3filter: decode query, path, header and cookie params with typeless const/enum schemas by @Yi-111-a in #1368
- openapi2conv: handle some nil derefs by @reuvenharrison in #1384
- ci: a minimize budget the minimizer can finish in by @reuvenharrison in #1385
- openapi3: return a typed error for a disallowed external $ref by @reuvenharrison in #1370
- openapi3: reject a multipleOf of zero or less in Schema.Validate by @LuisFigueroaG in #1379
- openapi3filter: treat a handler that writes no status as a 200 in Validator.Middleware by @LuisFigueroaG in #1389
- deps: update oasdiff/yaml to v0.1.3 by @reuvenharrison in #1387
- openapi3: validate the pattern of a schema without type in Schema.Validate by @LuisFigueroaG in #1398
- openapi3: set maxLength in Schema.WithMaxLengthDecodedBase64 by @LuisFigueroaG in #1401
- openapi2conv: FromV3 no longer turns a binary header into a form field by @fenollp in #1403
- openapi3: internalize webhook references by @KashifManzer in #1408
- openapi2conv: keep required and format on a converted form field by @reuvenharrison in #1405
- openapi2conv: escape a base path converted to a server of its own by @reuvenharrison in #1404
- internal: add nodeindex (decoding YAML natively 1/3) by @reuvenharrison in #1382
- openapi3: UnmarshalYAML for the types (decoding YAML natively 2/3) by @reuvenharrison in #1383
- openapi3: keep component content when internalizing a ref to a file by @akasakariko in #1409
- Fuzzing harder by @fenollp in #1411
- openapi3filter: test deepObject array index limits by @connabyss in #1412
- openapi3: scope whole-file schema fragments to their document by @Aryangupta-05 in #1413
- openapi3: compare FuzzLoadFromData's validation errors by message by @fenollp in #1417
- openapi3: internalize refs under the 3.1 subschema keywords by @fenollp in #1418
- openapi3: an extension next to a $ref reaches the schema it resolves to by @reuvenharrison in #1400
- openapi3: DefaultRefNameResolver stops stripping extensions at the last dot by @Yi-111-a in #1419
- openapi3: isolate reference sibling constraints by @subotac in #1406
- openapi3: reject impossible days and offsets in the date and date-time formats by @LuisFigueroaG in #1407
- openapi3: stop InternalizeRefs prefix trimming at the filesystem root by @Yi-111-a in #1421
- openapi3: resolve refs under a header's content by @JayOfTheKeyboard in #1424
- openapi3filter: reject an empty query value instead of filling in the default by @fyousfi-ionos in #1427
- openapi3: reuse root components when internalizing refs by @ZXLyyds100 in #1425
- openapi3filter: read OpenAPI 3.1 contentMediaType data without a registered decoder by @nk-batman21 in #1388
- openapi3: validate the callbacks of an operation by @fenollp in #1429
- fuzzing: add ./fetch-fuzz-crashers.sh [--days N] by @fenollp in #1428
- openapi3: internalize the refs next to a $ref in OpenAPI 3.1 by @fenollp in #1430
- openapi3: internalize the examples of parameters and headers by @fenollp in #1431
- openapi2, openapi3: skip the json decode when data cannot be json, wrap both errors by @fenollp in #1432
- openapi3: switch the loader to the native decode (decoding YAML natively 3/3) by @reuvenharrison in #1238
- openapi3: cut the cost of building the types from the nodes by @reuvenharrison in #1433
New Contributors
- @frodeaa made their first contribution in #1378
- @KashifManzer made their first contribution in #1408
- @akasakariko made their first contribution in #1409
- @connabyss made their first contribution in #1412
- @Aryangupta-05 made their first contribution in #1413
- @subotac made their first contribution in #1406
- @JayOfTheKeyboard made their first contribution in #1424
- @fyousfi-ionos made their first contribution in #1427
- @ZXLyyds100 made their first contribution in #1425
- @nk-batman21 made their first contribution in #1388
Full Changelog: v0.152.0...v0.153.0