Enhance restapi automation doc generator to make it can generate the markdown formatted doc