encode method
Implementation
void encode(KeyedArchive object) {
super.encode(object);
object.encode("swagger", version);
object.encode("host", host);
object.encode("basePath", basePath);
object.encode("schemes", schemes);
object.encode("consumes", consumes);
object.encode("produces", produces);
object.encodeObjectMap("paths", paths);
object.encodeObject("info", info);
object.encodeObjectMap("parameters", parameters);
object.encodeObjectMap("responses", responses);
object.encodeObjectMap("securityDefinitions", securityDefinitions);
object.encode("security", security);
object.encodeObjects("tags", tags);
object.encodeObjectMap("definitions", definitions);
}