             var context : [String: Any] = [:]
             context["comment"] = docJSON["operations"][operation.name].stringValue.tagStriped().split(separator: "\n")
             context["funcName"] = operation.name.toSwiftVariableCase()
-            context["inputShape"] = operation.inputShape?.toSwiftType()
-            context["outputShape"] = operation.outputShape?.toSwiftType()
+            context["inputShape"] = operation.inputShape?.swiftTypeName
+            context["outputShape"] = operation.outputShape?.swiftTypeName
             context["name"] = operation.name
             context["path"] = operation.path
             context["httpMethod"] = operation.httpMethod

        context["location"] = member.location?.enumStyleDescription()
        context["parameter"] = member.name.toSwiftLabelCase()
        context["required"] = member.required
        context["type"] = member.swiftTypeName + (member.required ? "" : "?")
        context["typeEnum"] = "\(shape2Hint(shape: member.shape))"
        context["encoding"] = member.shapeEncoding?.enumStyleDescription()
        if let comment = shapeDoc[shape.name]?[member.name] {
            context["comment"] = comment.split(separator: "\n")

        return context
    }
    
}
