encode method

  1. @override
void encode(
  1. KeyedArchive object
)
override

Implementation

@override
void encode(KeyedArchive object) {
  super.encode(object);

  object.encode("tags", tags);
  object.encode("summary", summary);
  object.encode("description", description);
  object.encode("operationId", id);
  object.encode("consumes", consumes);
  object.encode("produces", produces);
  object.encode("deprecated", deprecated);

  object.encodeObjects("parameters", parameters);
  object.encodeObjectMap("responses", responses);
  object.encode("security", security);
}