Anonymitaet commented on a change in pull request #4374: [rest] improve
clusters rest endpoint by documenting the endpoints with more swagger
annotations
URL: https://github.com/apache/pulsar/pull/4374#discussion_r287593101
##########
File path:
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/ClustersBase.java
##########
@@ -385,11 +544,23 @@ public NamespaceIsolationData
getNamespaceIsolationPolicy(@PathParam("cluster")
@GET
@Path("/{cluster}/namespaceIsolationPolicies/brokers")
- @ApiOperation(value = "Get list of brokers with namespace-isolation
policies attached to them", response = BrokerNamespaceIsolationData.class)
- @ApiResponses(value = { @ApiResponse(code = 403, message = "Don't have
admin permission"),
- @ApiResponse(code = 404, message = "Namespace-isolation policies
not found"),
- @ApiResponse(code = 412, message = "Cluster doesn't exist") })
+ @ApiOperation(
+ value = "Get list of brokers with namespace-isolation policies
attached to them",
Review comment:
```suggestion
value = "Get the list of brokers with namespace isolation policies
attached to them",
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services