Class SequenceController

java.lang.Object
org.training.sequence.generator.controller.SequenceController

@RestController @RequestMapping("/sequence") public class SequenceController extends Object
  • Constructor Details

    • SequenceController

      public SequenceController()
  • Method Details

    • generateAccountNumber

      @PostMapping public Sequence generateAccountNumber()
      Generates an account number.
      Returns:
      The generated account number.