Rest Controller Warning

With http end point, noticed the following warning

RestController ] Content type detection for rest requests is deprecated. Specify the content type using the [Content-Type] header.

The content type is set to application/json

Any idea ?