package br.com.nossolixo.nossolixo.services;

import java.util.List;

import br.com.nossolixo.nossolixo.models.Place;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface PlaceService {
    @GET("places")
    Call<List<Place>> listPlaces();

    @GET("places")
    Call<List<Place>> listPlacesByCategory(@Query("category") String category);
}

@@ -161,16 +161,44 @@
 tp.GET;%0A
+import retrofit2.http.Path;%0A
 import r
@@ -405,11 +405,85 @@
 tegory);
+%0A%0A    @GET(%22place/%7Bid%7D%22)%0A    Call%3CPlace%3E find(@Path(%22id%22) String placeId);
 %0A%7D%0A

Add method to find a place