separated controler endpoint and documentation