documentSchema method
Returns an APISchemaObject describing this object's type.
The returned APISchemaObject will be of type APIType.object. By default, each instance variable of the receiver's type will be a property of the return value.
Implementation
@override
APISchemaObject documentSchema(APIDocumentContext context) =>
entity.document(context);