Not sure the history behind why exportfiles may return a boolean instead of an array of objects. This isn't valid in OAS 3.0. I'm guessing the boolean result is returned with some set of parameters meant to return a slimmed down, faster response.
Options include:
- always returning the exportfiles information (no boolean), perhaps with performance enhancement to speed up the response
- returning the boolean separately, e.g.,
has_exportfiles or number_of_exportfiles (# > 0 indicates true)
- always return array of exportfile pks which can be queried separately through a new endpoint (this is big shift back towards the original API design in which we made many RESTful requests)