RemoteSource
requires optional parameters to be set.
#152
Labels
Area: Specification
Related to the API spec used to generate client code
When building a reindex request and setting up a
co.elastic.clients.elasticsearch.core.reindex.RemoteSource
, the client code requires me so set the values forusername
,password
,connectTimeout
andsocketTimeout
, they cannot be null.This contradicts the description of the reindex request at https://www.elastic.co/guide/en/elasticsearch/reference/7.17/docs-reindex.html#reindex-from-remote where it's stated that the username and password are optional, and for the timeout values gives default values when they are not set.
So I think these values should be nullable when building the request (the timeout values are not the problem, I can provide the defaults there).
The text was updated successfully, but these errors were encountered: