REST API doc formatting