adds allowedMethods and deniedMethods in doc instead methods, will be translated in genereated docs