APISchemaObject documentedResponseSchema

Schema of the managed object as returned in a response to use in generating documentation.

Source

APISchemaObject get documentedResponseSchema {
  return new APISchemaObject()
    ..title = MirrorSystem.getName(instanceType.simpleName)
    ..type = APISchemaObject.TypeObject
    ..properties = _propertiesForEntity(this);
}