From cc230da8868454f1bdf2132c692ad34f7605cc56 Mon Sep 17 00:00:00 2001 From: Arkadiusz Biel - bielu <2244074+bielu@users.noreply.github.com> Date: Sat, 10 Oct 2026 14:23:34 +0100 Subject: [PATCH] fix: serialize Kafka schemaIdLocation with correct casing Co-Authored-By: Claude Sonnet 5.5 --- src/ByteBard.AsyncAPI/Models/AsyncApiConstants.cs | 2 +- .../Bindings/Kafka/KafkaBindings_Should.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ByteBard.AsyncAPI/Models/AsyncApiConstants.cs b/src/ByteBard.AsyncAPI/Models/AsyncApiConstants.cs index d38469c..df32a4b 100644 --- a/src/ByteBard.AsyncAPI/Models/AsyncApiConstants.cs +++ b/src/ByteBard.AsyncAPI/Models/AsyncApiConstants.cs @@ -119,7 +119,7 @@ public static class AsyncApiConstants public const string Method = "method"; public const string SchemaIdPayloadEncoding = "schemaIdPayloadEncoding"; public const string SchemaLookupStrategy = "schemaLookupStrategy"; - public const string SchemaIdLocation = "SchemaIdLocation"; + public const string SchemaIdLocation = "schemaIdLocation"; public const string Query = "query"; public const string GroupId = "groupId"; public const string ClientId = "clientId"; diff --git a/test/ByteBard.AsyncAPI.Tests/Bindings/Kafka/KafkaBindings_Should.cs b/test/ByteBard.AsyncAPI.Tests/Bindings/Kafka/KafkaBindings_Should.cs index 96baa94..53fb4b3 100644 --- a/test/ByteBard.AsyncAPI.Tests/Bindings/Kafka/KafkaBindings_Should.cs +++ b/test/ByteBard.AsyncAPI.Tests/Bindings/Kafka/KafkaBindings_Should.cs @@ -117,7 +117,7 @@ public void V2_KafkaMessageBinding_WithFilledObject_SerializesAndDeserializes() kafka: key: description: this mah other binding - SchemaIdLocation: test + schemaIdLocation: test schemaIdPayloadEncoding: test schemaLookupStrategy: header """;