gerlowskija commented on code in PR #975:
URL: https://github.com/apache/solr/pull/975#discussion_r958476775
##########
solr/core/src/java/org/apache/solr/handler/admin/api/SchemaNameAPI.java:
##########
@@ -46,7 +46,7 @@ public SchemaNameAPI(SolrCore solrCore) {
}
@GET
- @Produces("application/json")
+ @Produces({"application/json", "application/xml", "application/javabin"})
Review Comment:
Hah, yeah it does look weird as you add more and more formats to this list.
There must be a cleaner way to declare these.
> Do we actually want a javabin version for this API????
I think there's a good question of whether we want to hang on to javabin
long term. But while we do support it, I think we might as well allow it
everywhere unless we have a reason not to?
--
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]