Update RestApiMethodDoc.groovy

Fix for RestApiHeaders