lib/elasticsearch/api/actions/indices/get_field_mapping.rb in elasticsearch-api-7.14.1 vs lib/elasticsearch/api/actions/indices/get_field_mapping.rb in elasticsearch-api-7.15.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.14/indices-get-field-mapping.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.15/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