Completed the API document for Swagger.