I'm referring to this condition. This should be checking whether the type implements ApiDocumentable instead of being so generic that it will document anything.