Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (16 sloc) 498 Bytes
package example;
import io.exchangeratesapi.ExchangeratesApi;
import io.exchangeratesapi.ForeignExchangeReferenceRates;
import io.micronaut.http.annotation.Controller;
import io.micronaut.http.annotation.Get;
import io.reactivex.Single;
import javax.inject.Inject;
public class ExchangeRatesController {
private ExchangeratesApi exchangeratesApi;
public Single<ForeignExchangeReferenceRates> index() {
return exchangeratesApi.latest();
You can’t perform that action at this time.