Update RestApiMethodDoc.groovy

Fix a tiny issue of RestApiMethodDoc