Interface SequenceService


@FeignClient(name="sequence-generator") public interface SequenceService
  • Method Summary

    Modifier and Type
    Method
    Description
    Generates a new account number.
  • Method Details

    • generateAccountNumber

      @PostMapping("/sequence") SequenceDto generateAccountNumber()
      Generates a new account number.
      Returns:
      the generated account number as a SequenceDto object.