# January 26, 2026

## 2.17.5

**`(fix):`** Fix test equality comparison for nested OneOf values in collections.

Previously, when comparing objects containing `List<OneOf<...>>` properties (such as
`RelatedResources` in FHIR-style models), the test framework would incorrectly report
differences even when the values were identical. This was because the nested OneOf
comparer didn't recursively handle OneOf values within collections.

The fix adds a custom `EqualityAdapter` that registers itself with the inner
`NUnitEqualityComparer`, enabling proper recursive comparison of nested OneOf values.

## 2.17.4

**`(fix):`** Fix extra properties support for inlined request bodies and improve test equality comparisons.

This fix addresses three issues with the `extra-properties: true` feature:

* Inlined request bodies now properly support `AdditionalProperties` for serialization/deserialization
* Test snippets now include extra properties from examples for both object types and wrapped requests
* Added `AdditionalPropertiesComparer` to handle type mismatches between JsonElement and native C# types in test assertions

## 2.17.3

**`(fix):`** Fix mock server tests to use FormUrlEncodedMatcher for form-urlencoded requests.

Previously, mock server tests used `WithBodyAsJson` for form-urlencoded requests, which
caused test failures because the SDK sends the request body as `key=value&key2=value2`
format, not JSON. This fix uses WireMock's `FormUrlEncodedMatcher` to properly match
form-urlencoded request bodies.