Class ExchangeController


  • @RestController
    @RequestMapping("/api/exchange")
    public class ExchangeController
    extends Object
    • Constructor Detail

      • ExchangeController

        public ExchangeController()
    • Method Detail

      • getExchangeRates

        @GetMapping("/{currency}")
        public org.springframework.http.ResponseEntity<List<MeedPrice>> getExchangeRates​(@PathVariable(name="currency")
                                                                                         Currency currency,
                                                                                         @RequestParam(name="from",required=true) @DateTimeFormat(iso=DATE)
                                                                                         LocalDate fromDate)