Skip to content

Commit

Permalink
fix(core): deprecated allowFailed should not have any default
Browse files Browse the repository at this point in the history
Fixes #6791
  • Loading branch information
loicmathieu committed Jan 20, 2025
1 parent 4dee038 commit 0283129
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ public abstract class AbstractHttp extends Task implements HttpInterface {
protected HttpConfiguration options;

@Deprecated
@Builder.Default
@Schema(
title = "If true, allow a failed response code (response code >= 400)"
title = "If true, allow a failed response code (response code >= 400)",
description = "Deprecated, use `options.allowFailed` instead."
)
private Property<Boolean> allowFailed = Property.of(false);
private Property<Boolean> allowFailed;

@Deprecated
public void setAllowFailed(Property<Boolean> allowFailed) {
Expand Down

0 comments on commit 0283129

Please sign in to comment.