m1a2st commented on code in PR #16480: URL: https://github.com/apache/kafka/pull/16480#discussion_r1661004622
########## clients/src/test/java/org/apache/kafka/common/protocol/ApiKeysTest.java: ########## @@ -87,4 +88,15 @@ public void testApiScope() { "Found some APIs missing scope definition"); } + @Test + public void testHtmlOnlyHaveStableApi() { + String html = ApiKeys.toHtml(); + for (ApiKeys apiKeys : ApiKeys.clientApis()) { + if (apiKeys.messageType.latestVersionUnstable()) { + assertFalse(html.contains(apiKeys.name), "Html should not contain unstable api: " + apiKeys.name); Review Comment: Thanks for your suggestion, I updated the test -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org