View Javadoc
1   package fr.tiogars.domaintemplate.domains.auth.role.models;
2   
3   import io.swagger.v3.oas.annotations.media.Schema;
4   import jakarta.validation.constraints.NotBlank;
5   
6   /** Request body used to update a role. */
7   public record UpdateRoleRequest(
8           @Schema(
9                   description = "Display label.",
10                  example = "Administrator",
11                  requiredMode = Schema.RequiredMode.REQUIRED)
12          @NotBlank
13          String label) {
14  }