This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch branch-2.10
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/branch-2.10 by this push:
     new 416a927a4a0 Fix wrong response type for swagger definitions (#16022)
416a927a4a0 is described below

commit 416a927a4a0432671eb7c9b4ae6839894e9983f5
Author: visortelle <[email protected]>
AuthorDate: Wed Jun 15 00:35:04 2022 +0200

    Fix wrong response type for swagger definitions (#16022)
---
 .../src/main/java/org/apache/pulsar/broker/admin/v2/Namespaces.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/Namespaces.java 
b/pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/Namespaces.java
index 087a390bd09..18a8eff4a9a 100644
--- 
a/pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/Namespaces.java
+++ 
b/pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/Namespaces.java
@@ -290,7 +290,7 @@ public class Namespaces extends NamespacesBase {
 
     @GET
     @Path("/{tenant}/{namespace}/messageTTL")
-    @ApiOperation(value = "Get the message TTL for the namespace")
+    @ApiOperation(value = "Get the message TTL for the namespace", response = 
Integer.class)
     @ApiResponses(value = { @ApiResponse(code = 403, message = "Don't have 
admin permission"),
             @ApiResponse(code = 404, message = "Tenant or cluster or namespace 
doesn't exist") })
     public Integer getNamespaceMessageTTL(@PathParam("tenant") String tenant,

Reply via email to