Summary
AUDIT.md i README twierdzą, że Codable, status decoding i type-map są częścią kontraktu. Deterministyczne testy w Tests/OpenAPIDynamicTests tego nie pokrywają.
Brak unit testów dla:
sendRequest<T: Decodable> / sendRequestAndValidate<T>
sendRequestWithResponseBody<T: Decodable>
sendRequestWithStatusDecoding
sendRequestWithTypeDecoding
sendRequestWithFlexibleDecoding
- auto
Accept: application/json i Content-Type: application/json
- override tych nagłówków
Te przypadki są tylko w OpenAPIDynamicIntegrationTests, gated OPENAPI_DYNAMIC_ENABLE_LIVE_TESTS=1 (httpbin.org, jsonplaceholder.typicode.com). Zwykłe swift test ich nie uruchamia.
Why
Claimed contract bez lokalnego dowodu. Live smoke nie jest testem biblioteki.
Done means
Out of scope
Usuwanie live testów. Nowy transport poza URLSession.
Summary
AUDIT.mdi README twierdzą, że Codable, status decoding i type-map są częścią kontraktu. Deterministyczne testy wTests/OpenAPIDynamicTeststego nie pokrywają.Brak unit testów dla:
sendRequest<T: Decodable>/sendRequestAndValidate<T>sendRequestWithResponseBody<T: Decodable>sendRequestWithStatusDecodingsendRequestWithTypeDecodingsendRequestWithFlexibleDecodingAccept: application/jsoniContent-Type: application/jsonTe przypadki są tylko w
OpenAPIDynamicIntegrationTests, gatedOPENAPI_DYNAMIC_ENABLE_LIVE_TESTS=1(httpbin.org, jsonplaceholder.typicode.com). Zwykłeswift testich nie uruchamia.Why
Claimed contract bez lokalnego dowodu. Live smoke nie jest testem biblioteki.
Done means
MockURLProtocoldla każdej publicznej ścieżki dekodowaniaURLRequest, nie na echo httpbinswift testbez env var przechodzi te przypadkiOut of scope
Usuwanie live testów. Nowy transport poza
URLSession.