[
https://issues.apache.org/jira/browse/SOLR-16825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17758627#comment-17758627
]
ASF subversion and git services commented on SOLR-16825:
--------------------------------------------------------
Commit 37a14d23039714ef3cc3864d6c44f72eecc1d3df in solr's branch
refs/heads/branch_9x from Jason Gerlowski
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=37a14d23039 ]
SOLR-16825: Migrate v2 definitions to 'api' module (#1859)
Since Solr's OAS (OpenApi Spec) is now generated prior to compiling
SolrJ, it can only contain those APIs defined in our new 'api'
module.
This commit moves a number of v2 API definitions to this new module,
including:
- delete replica property
- delete replica
- delete (i.e. "clear") node
- delete collection snapshot
- delete collection backup
Moving these APIs also means that a v2 SolrRequest implementation is
generated for each.
> 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: 6.5h
> 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: [email protected]
For additional commands, e-mail: [email protected]