Skip to content

Commit 0843b3f

Browse files
krygeradriancole
authored andcommitted
Fix syntax error in one of the examples (OpenFeign#505)
1 parent dfb36eb commit 0843b3f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,14 +359,14 @@ In many cases, resource representations are also consistent. For this reason, ty
359359
interface BaseApi<V> {
360360

361361
@RequestLine("GET /api/{key}")
362-
V get(@Param("key") String);
362+
V get(@Param("key") String key);
363363

364364
@RequestLine("GET /api")
365365
List<V> list();
366366

367367
@Headers("Content-Type: application/json")
368368
@RequestLine("PUT /api/{key}")
369-
void put(@Param("key") String, V value);
369+
void put(@Param("key") String key, V value);
370370
}
371371

372372
interface FooApi extends BaseApi<Foo> { }

0 commit comments

Comments
 (0)