[#632] Fix configuration error for Swagger

Fix the api_path swagger setting