          }
          return {'type': FIELD_CLASS_SCHEMA_TYPE.get(field.__class__, 'string')}
  
      def _map_serializer(self, serializer):
          # Assuming we have a valid serializer instance.
          # TODO:
          #   - field is Nested or List serializer.
 
</s> remove             serializers.DecimalField: 'number',
            serializers.FloatField: 'number',
            serializers.IntegerField: 'integer',

 </s> add 
    def _map_min_max(self, field, content):
        if field.max_value:
            content['maximum'] = field.max_value
        if field.min_value:
            content['minimum'] = field.min_value

          }
          return {'type': FIELD_CLASS_SCHEMA_TYPE.get(field.__class__, 'string')}
  
    def _map_min_max(self, field, content):
        if field.max_value:
            content['maximum'] = field.max_value
        if field.min_value:
            content['minimum'] = field.min_value

      def _map_serializer(self, serializer):
          # Assuming we have a valid serializer instance.
          # TODO:
          #   - field is Nested or List serializer.
keep keep add keep keep keep keep
 Generate OpenAPI schema field types from validators. (#6674) 
rest_framework/schemas/openapi.py