Changes in REST API

Spring mvc used