From f18d13b3a3349c4039945f8827bee4daeef2eb97 Mon Sep 17 00:00:00 2001 From: david-perez Date: Thu, 16 Nov 2023 16:53:54 +0100 Subject: [PATCH] Update CborSerializerGenerator --- .../smithy/protocols/serialize/CborSerializerGenerator.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/protocols/serialize/CborSerializerGenerator.kt b/codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/protocols/serialize/CborSerializerGenerator.kt index 29299b7f5f..c41d44ac44 100644 --- a/codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/protocols/serialize/CborSerializerGenerator.kt +++ b/codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/protocols/serialize/CborSerializerGenerator.kt @@ -200,6 +200,11 @@ class CborSerializerGenerator( ) } + override fun unsetUnion(union: UnionShape): RuntimeType { + // TODO + TODO("Not yet implemented") + } + override fun operationInputSerializer(operationShape: OperationShape): RuntimeType? { // Don't generate an operation JSON serializer if there is no JSON body. val httpDocumentMembers = httpBindingResolver.requestMembers(operationShape, HttpLocation.DOCUMENT)