Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.pig.microservices.limitsservice;
- import org.springframework.web.bind.annotation.GetMapping;
- import org.springframework.web.bind.annotation.RestController;
- import com.pig.microservices.limitsservice.bean.LimitConfiguration;
- @RestController
- public class LimitsConfigurationController {
- @GetMapping("/limits")
- public LimitConfiguration retrieveLimitsFromConfigurations() {
- return new LimitConfiguration(1000,1);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement