epugh commented on PR #1024:
URL: https://github.com/apache/solr/pull/1024#issuecomment-1251478820
Just to get this out, I found the annotation tags from your spike ;-) With
this, I can get output from redoc!
```
diff --git
a/solr/core/src/java/org/apache/solr/handler/configsets/ListConfigSetsAPI.java
b/solr/core/src/java/org/apache/solr/handler/configsets/ListConfigSetsAPI.java
index 978f290d763..16b74c5b4b9 100644
---
a/solr/core/src/java/org/apache/solr/handler/configsets/ListConfigSetsAPI.java
+++
b/solr/core/src/java/org/apache/solr/handler/configsets/ListConfigSetsAPI.java
@@ -19,7 +19,10 @@ package org.apache.solr.handler.configsets;
import static
org.apache.solr.security.PermissionNameProvider.Name.CONFIG_READ_PERM;
import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.Operation;
+import io.swagger.v3.oas.annotations.info.Info;
+import io.swagger.v3.oas.annotations.info.License;
import java.util.List;
import javax.inject.Inject;
import javax.ws.rs.GET;
@@ -37,6 +40,7 @@ import org.apache.solr.jersey.SolrJerseyResponse;
*
* <p>This API (GET /v2/cluster/configs) is analogous to the v1
/admin/configs?action=LIST command.
*/
+@OpenAPIDefinition(info = @Info(title = "Solr v2 API", description = "Some
description", license = @License(name = "ASL 2.0"), version = "0.0.1"))
@Path("/cluster/configs")
public class ListConfigSetsAPI extends JerseyResource {
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]