anchor.diff:      }
   
       optParams.add("core.Map optParams");
  -    _createParamComment(tmp, "optParams", {"description": "Additional query parameters"});
  +    _writeParamComment(sink, "optParams", {"description": "Additional query parameters"});
   
       params.add("{${optParams.join(", ")}}");
   
  -    tmp.write("   */\n");
  +    sink.write("   */\n");
       var response = null;
       if (data.containsKey("response")) {
         response = "async.Future<${data["response"]["\$ref"]}>";
  
positive.code:         if (type != null) {
            String propName = escapeProperty(cleanName(key));
            String jsonName = key.replaceAll("\$", "\\\$");
            tmp.write("    if (json.containsKey(\"$jsonName\")) {\n");
            if (array) {
              tmp.write("      $propName = [];\n");
              tmp.write("      json[\"$jsonName\"].forEach((item) {\n");
              if (object) {
                tmp.write("        $propName.add(new $type.fromJson(item));\n");
              } else {
                tmp.write("        $propName.add(item);\n");
              }
              tmp.write("      });\n");
            } else {
              if (object) {
                tmp.write("      $propName = new $type.fromJson(json[\"$jsonName\"]);\n");
              } else {
                if(schemaType=="string" && schemaFormat == "int64") {
                  tmp.write("      if(json[\"$jsonName\"] is core.String){\n");
                  tmp.write("        $propName = core.int.parse(json[\"$jsonName\"]);\n");
                  tmp.write("      }else{\n");
                  tmp.write("        $propName = json[\"$jsonName\"];\n");
                  tmp.write("      }\n");
                }else{
                  tmp.write("      $propName = json[\"$jsonName\"];\n");
                }
              }
            }
            tmp.write("    }\n");
          }
        });
      }
      tmp.write("  }\n\n");
  
      tmp.write("  /** Create JSON Object for $name */\n");
      tmp.write("  core.Map toJson() {\n");
      tmp.write("    var output = new core.Map();\n\n");
      if (data.containsKey("properties")) {
        data["properties"].forEach((key, property) {
          var schemaType = property["type"];
  
negative.code:   hop: any
  """;
  
    void _writeReadme(StringSink sink) {
      sink.write("""
  # $_libraryPubspecName
  
  ### Description
  