From e4017f6d1c00b553478cd272eeb054dcfe5766fd Mon Sep 17 00:00:00 2001 From: "adam.gloyne" Date: Tue, 19 Sep 2023 12:11:28 +0100 Subject: [PATCH] Minor: match camel casing --- src/LEGO.AsyncAPI.Bindings/Sns/Consumer.cs | 4 ++-- test/LEGO.AsyncAPI.Tests/Bindings/Sns/SnsBindings_Should.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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: