[ https://issues.apache.org/jira/browse/SOLR-16835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17794377#comment-17794377 ]
ASF subversion and git services commented on SOLR-16835: -------------------------------------------------------- Commit 5eff6d0fb294eeb5b246d7387087d0269a55aa63 in solr's branch refs/heads/branch_9x from Jason Gerlowski [ https://gitbox.apache.org/repos/asf?p=solr.git;h=5eff6d0fb29 ] SOLR-16835: Generate Python client from OpenAPI spec (#1681) This commit adds build code to generate a Python client (using the OpenAPI Generator's 'python' template) and adds the necessary plumbing to bundle the client into an example directory used in Solr's LTR module. Note that nothing in this commit adds this client as a release artifact, publishes it to pip, etc. > Generate Python bindings from OpenAPI spec > ------------------------------------------ > > Key: SOLR-16835 > URL: https://issues.apache.org/jira/browse/SOLR-16835 > Project: Solr > Issue Type: New Feature > Components: v2 API > Affects Versions: main (10.0) > Reporter: Jason Gerlowski > Assignee: Jason Gerlowski > Priority: Minor > Labels: client > Time Spent: 5h 50m > Remaining Estimate: 0h > > SOLR-16346 added support to Solr's build to generate an "OpenAPI spec" file > describing our v2 API. But currently, this spec file isn't actually used by > Solr in any way. > Spec files can be used for a variety of purposes, including to generate > client bindings in a variety of languages. > OpenAPI supports client-generation in many languages. Among these Python is > particularly promising due to the popularity of the language itself and of > the 3rd-party "pysolr" client. > (It's also an appealing starting-point from a development perspective, as > it's "green field" and therefore unconstrained by compatibility concerns as > the Java binding in SOLR-16825 is.) -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org