added swagger and fixed paths