horizonzy commented on code in PR #16298:
URL: https://github.com/apache/pulsar/pull/16298#discussion_r910750147


##########
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/BaseGenerateDocumentation.java:
##########
@@ -90,7 +90,7 @@ protected String generateDocByFieldContext(String className, 
String type, String
         sb.append("|---|---|---|---|---|\n");
         for (Field field : fields) {
             FieldContext fieldContext = 
field.getAnnotation(FieldContext.class);
-            if (fieldContext == null) {
+            if (fieldContext == null || fieldContext.deprecated()) {

Review Comment:
   @urfreespace Pls help check this change, shall we ignore the 
FileContext.deprecated param.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to