gerlowskija commented on code in PR #4264:
URL: https://github.com/apache/solr/pull/4264#discussion_r3125058944


##########
solr/api/src/java/org/apache/solr/client/api/endpoint/ConfigsetsApi.java:
##########
@@ -71,6 +79,46 @@ SolrJerseyResponse 
deleteConfigSet(@PathParam("configSetName") String configSetN
         throws Exception;
   }
 
+  /**
+   * V2 API definition for downloading an existing configset as a ZIP archive.
+   *
+   * <p>Equivalent to GET /api/configsets/{configSetName}/download
+   */
+  @Path("/configsets/{configSetName}")
+  interface Download {
+    @GET
+    @Path("/download")

Review Comment:
   Yeah - having our spec "drive" or generate API documentation in some way is 
absolutely something we should do longer-term.  DRY ("Don't Repeat Yourself") 
is one of the biggest benefits of OAS, and it's very natural to extend that to 
docs when we can.
   
   I'm not sure how much that'll help with getting a very quick, very broad 
overview.  But we'll see when the time comes I guess 🤷 



-- 
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]

Reply via email to