initial attempt with swagger however no success