adding swagger and other fixes
changing plan to GET