Using Swagger for REST API documentations