Swagger documentation refactored