I need perform a DELETE request using Retrofit. So, my code snippet of the interface looks like this:
@DELETE(\"/api/item/{id}\") void deleteItem(@Path(\"id\") i
@HTTP(method = "DELETE", path = "/api/item/{id}", hasBody = false) fun deleteItemId( @Path("id") id: Int ) : Call hasBody = true -> if api has request body false -> if api has not a request body