diff --git a/server/src/main/java/com/epam/aidial/core/server/limiter/TokenRateLimit.java b/server/src/main/java/com/epam/aidial/core/server/limiter/TokenRateLimit.java index 2b7efa71..7e52604d 100644 --- a/server/src/main/java/com/epam/aidial/core/server/limiter/TokenRateLimit.java +++ b/server/src/main/java/com/epam/aidial/core/server/limiter/TokenRateLimit.java @@ -3,10 +3,12 @@ import com.epam.aidial.core.config.Limit; import com.epam.aidial.core.server.data.LimitStats; import com.epam.aidial.core.storage.http.HttpStatus; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.Data; import org.apache.commons.lang3.math.NumberUtils; @Data +@JsonIgnoreProperties(ignoreUnknown = true) public class TokenRateLimit { private final RateBucket minute = new RateBucket(RateWindow.MINUTE);