Skip to content

Commit

Permalink
Merge pull request Netflix#183 from Trundle/update_readme
Browse files Browse the repository at this point in the history
Update README (@http's uriTemplate parameter is now called uri).
  • Loading branch information
elandau committed Oct 28, 2014
2 parents 150a79c + 4e31785 commit 9960a6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Observable<ByteBuf> result = recommendationsByUserIdTemplate.requestBuilder()
public interface MovieService {
@Http(
method = HttpMethod.GET,
uriTemplate = "/users/{userId}/recommendations",
uri = "/users/{userId}/recommendations",
)
RibbonRequest<ByteBuf> recommendationsByUserId(@Var("userId") String userId);
}
Expand Down
2 changes: 1 addition & 1 deletion ribbon/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This code snippet is taken from [ribbon-examples](../ribbon-examples) package an
@ResourceGroup(resourceGroupClass = SampleHttpResourceGroup.class)
public interface MovieService {
@TemplateName("recommendations")
@Http(method = HttpMethod.GET, uriTemplate = "/users/{userId}/recommendations")
@Http(method = HttpMethod.GET, uri = "/users/{userId}/recommendations")
@Hystrix( validator = RecommendationServiceResponseValidator.class,
fallbackHandler = RecommendationServiceFallbackHandler.class)
@CacheProviders(@Provider(key = "{userId}", provider = InMemoryCacheProviderFactory.class))
Expand Down

0 comments on commit 9960a6f

Please sign in to comment.