Switch API to use Swagger