Skip to content

Commit

Permalink
make enabled mandatory.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alice1319 committed Nov 9, 2023
1 parent 8d6fb91 commit ee0d38c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public class PolicyCreateRequest {
/**
* Is the policy enabled.
*/
@NotNull
@Schema(description = "Is the policy enabled. true:enabled;false:disabled.")
private Boolean enabled = true;

Expand Down

0 comments on commit ee0d38c

Please sign in to comment.