Because in view for this controller is the only place where the documentation is used. It has no effect for other actions besides longer processing time (reloading all the API controllers takes some time). For the '/apidoc/*' path this happens already. So unless the documentation is used from other places (I'm not aware of it), having it only here is better choice for now.