You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/09/01 17:08:00 UTC

[jira] [Commented] (SOLR-16825) Generate Java bindings from OpenAPI spec

    [ https://issues.apache.org/jira/browse/SOLR-16825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17761358#comment-17761358 ] 

ASF subversion and git services commented on SOLR-16825:
--------------------------------------------------------

Commit 9426902acb7081a2e9a1fa29699c5286459e1365 in solr's branch refs/heads/main from Jason Gerlowski
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=9426902acb7 ]

SOLR-16825: Migrate API definitions to submodule, pt 2 (#1866)

Extracting annotated interfaces for these APIs includes them in the SolrRequest-
generation we now do in SolrJ.

> Generate Java bindings from OpenAPI spec
> ----------------------------------------
>
>                 Key: SOLR-16825
>                 URL: https://issues.apache.org/jira/browse/SOLR-16825
>             Project: Solr
>          Issue Type: Improvement
>          Components: v2 API
>            Reporter: Jason Gerlowski
>            Priority: Major
>          Time Spent: 8h 10m
>  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|https://github.com/OpenAPITools/openapi-generator] for using the API.
> The client generation capabilities provided by the OpenAPI project cover a variety of languages, but it make sense for Solr to start with Java since we already have a Java client that requires continual effort to keep up to date.  It'd be a big win for the project if we were able to replace some or all of the manually maintained "SolrRequest" implementations in SolrJ with automatically generated code.  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org