CommandExecutor<Map<String, Object>, RequestMappingContext> commandExecutor = new CommandExecutor();
each.put("authorizationContext", authorizationContext);
each.put("swaggerGlobalSettings", swaggerGlobalSettings);
each.put("currentResourceGroup", resourceGroup);
Map<String, Object> results = commandExecutor.execute(readers, each);
List<String> producesMediaTypes = (List<String>) results.get("produces");
List<String> consumesMediaTypes = (List<String>) results.get("consumes");
Map<String, Model> swaggerModels = (Map<String, Model>) results.get("models");
if (null != swaggerModels) {