Skip to content

Commit

Permalink
fix(impl): [#199] Code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmf committed Mar 28, 2024
1 parent 2be0088 commit 968b04d
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,23 @@
@Schema(description = "Request to add a policy")
public record CreatePolicyRequest(

@NotNull //
@Schema(description = "Timestamp after which the policy will no longer be accepted in negotiations.",
example = "2025-12-12T23:59:59.999Z") //
@NotNull //
OffsetDateTime validUntil, //

@Schema(description = """
The business partner number (BPN) for which the policy should be registered.
This parameter is optional.
If not set the policy is registered for each existing BPN.
""", example = "BPNL1234567890AB") //
@Pattern(regexp = BPN_REGEX, message = " Invalid BPN.") String businessPartnerNumber,
""", //
example = "BPNL1234567890AB") //
@Pattern(regexp = BPN_REGEX, message = " Invalid BPN.") //
String businessPartnerNumber,

@Schema(description = "The policy payload.", //
example = CreatePolicyRequest.EXAMPLE_PAYLOAD) //
@NotNull //
@Schema(description = "The policy payload.", example = CreatePolicyRequest.EXAMPLE_PAYLOAD) //
JsonObject payload) {

@SuppressWarnings("java:S2479")
Expand Down

0 comments on commit 968b04d

Please sign in to comment.