File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -144,12 +144,8 @@ interface GitHub {
144144 @GET @Path (" /repos/{owner}/{repo}/contributors" )
145145 List<Contributor > contributors (@PathParam (" owner" ) String owner , @PathParam (" repo" ) String repo );
146146}
147-
148- public static void main(String . .. args) {
149- GitHub github = Feign . builder()
150- .contract(new JAXRSModule .JAXRSContract ())
151- .target(GitHub . class, " https://api.github.com" );
152- }
147+ ...
148+ GitHub github = Feign . builder(). contract(new JAXRSModule .JAXRSContract ()). target(GitHub . class, " https://api.github.com" );
153149```
154150### Ribbon
155151[ RibbonModule] ( https://github.com/Netflix/feign/tree/master/ribbon ) overrides URL resolution of Feign's client, adding smart routing and resiliency capabilities provided by [ Ribbon] ( https://github.com/Netflix/ribbon ) .
You can’t perform that action at this time.
0 commit comments