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