Skip to content

Commit

Permalink
MAINT: backfill doc into json property for trim_string (#4728)
Browse files Browse the repository at this point in the history
* MAINT: backfill doc into json property for trim_string

Signed-off-by: George Chen <[email protected]>
  • Loading branch information
chenqi0805 authored Jul 13, 2024
1 parent 37b664b commit 1ea308b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
package org.opensearch.dataprepper.plugins.processor.mutatestring;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import org.opensearch.dataprepper.model.event.EventKey;
Expand All @@ -17,6 +18,7 @@ public class WithKeysConfig implements StringProcessorConfig<EventKey> {
@NotNull
@NotEmpty
@JsonProperty("with_keys")
@JsonPropertyDescription("A list of keys to trim the white space from.")
private List<EventKey> withKeys;

@Override
Expand Down

0 comments on commit 1ea308b

Please sign in to comment.