updated swagger with latest sample code