diff --git a/src/LEGO.AsyncAPI.Bindings/Sns/Consumer.cs b/src/LEGO.AsyncAPI.Bindings/Sns/Consumer.cs index a38174bc..c49c756d 100644 --- a/src/LEGO.AsyncAPI.Bindings/Sns/Consumer.cs +++ b/src/LEGO.AsyncAPI.Bindings/Sns/Consumer.cs @@ -88,7 +88,7 @@ public enum Protocol public enum FilterPolicyScope { - [Display("MessageAttributes")] MessageAttributes, - [Display("MessageBody")] MessageBody, + [Display("messageAttributes")] MessageAttributes, + [Display("messageBody")] MessageBody, } } \ No newline at end of file diff --git a/test/LEGO.AsyncAPI.Tests/Bindings/Sns/SnsBindings_Should.cs b/test/LEGO.AsyncAPI.Tests/Bindings/Sns/SnsBindings_Should.cs index 948dbb7e..5c3782b1 100644 --- a/test/LEGO.AsyncAPI.Tests/Bindings/Sns/SnsBindings_Should.cs +++ b/test/LEGO.AsyncAPI.Tests/Bindings/Sns/SnsBindings_Should.cs @@ -178,7 +178,7 @@ public void SnsOperationBinding_WithFilledObject_SerializesAndDeserializes() - rugby - football - baseball - filterPolicyScope: MessageAttributes + filterPolicyScope: messageAttributes rawMessageDelivery: false redrivePolicy: deadLetterQueue: