lib/elasticsearch/api/actions/indices/get_field_mapping.rb in elasticsearch-api-7.16.3 vs lib/elasticsearch/api/actions/indices/get_field_mapping.rb in elasticsearch-api-7.17.0
- old
+ new
@@ -35,10 +35,10 @@
# *Deprecation notice*:
# Specifying types in urls has been deprecated
# Deprecated since version 7.0.0
#
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.16/indices-get-field-mapping.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.17/indices-get-field-mapping.html
#
def get_field_mapping(arguments = {})
_fields = arguments.delete(:field) || arguments.delete(:fields)
raise ArgumentError, "Required argument 'field' missing" unless _fields