@Override
        public Trait createTrait(ShapeId target, Node value) {
            HttpTrait.Builder builder = builder().sourceLocation(value);
            value.expectObjectNode()
                    .expectStringMember("uri", s -> builder.uri(UriPattern.parse(s)))
                    .expectStringMember("method", builder::method)
                    .getNumberMember("code", n -> builder.code(n.intValue()));
            HttpTrait result = builder.build();
            result.setNodeCache(value);
            return result;
        }
Defines the HTTP request and response code bindings of an operation.
smithy-model/src/main/java/software/amazon/smithy/model/traits/HttpTrait.java