Integrate swagger based rest API