@Override
        public Trait createTrait(ShapeId target, Node value) {
            ArrayNode values = value.expectArrayNode();
            List<ParameterizedHttpMalformedRequestTestCase> testCases =
                    values.getElementsAs(ParameterizedHttpMalformedRequestTestCase::fromNode);
            HttpMalformedRequestTestsTrait result = new HttpMalformedRequestTestsTrait(value.getSourceLocation(),
                    testCases);
            result.setNodeCache(value);
            return result;
        }
Defines protocol tests for malformed HTTP request handling.
smithy-protocol-test-traits/src/main/java/software/amazon/smithy/protocoltests/traits/HttpMalformedRequestTestsTrait.java