Expose handler to ApiVersionDeprecationHandler implementations

Closes gh-35750
This commit is contained in:
rstoyanchev
2025-11-05 10:44:21 +00:00
parent cd67010518
commit b128f59714
12 changed files with 24 additions and 14 deletions
@@ -53,7 +53,7 @@ public class StandardApiVersionDeprecationHandlerTests {
.setSunsetDate(getDate(sunsetDate))
.setSunsetLink(URI.create(sunsetUrl));
handler.handleVersion("1.1", request, response);
handler.handleVersion("1.1", new Object(), request, response);
assertThat(response.getHeader("Deprecation")).isEqualTo("@1688169599");
assertThat(response.getHeader("Sunset")).isEqualTo(sunsetDate);