src/main/java/com/kobylynskyi/graphql/codegen/mapper/EnumDefinitionToDataModelMapper.java
/**
     * Mapper from GraphQL's EnumValueDefinition to a Freemarker-understandable format
     *
     * @param mappingContext       Global mapping context
     * @param enumValueDefinitions list of GraphQL EnumValueDefinition types
     * @return list of strings
     */
Mapper from GraphQL's EnumValueDefinition to a Freemarker-understandable format
@param mappingContext       Global mapping context
@param enumValueDefinitions list of GraphQL EnumValueDefinition types
@return list of strings
Mapper from GraphQL ' s EnumValueDefinition to a Freemarker - understandable format @param mappingContext Global mapping context @param enumValueDefinitions list of GraphQL EnumValueDefinition types @return list of strings
private List<EnumValueDefinition> map(MappingContext mappingContext, List<graphql.language.EnumValueDefinition> enumValueDefinitions) {
        return enumValueDefinitions.stream()
                .map(f -> new EnumValueDefinition(
                        dataModelMapper.capitalizeIfRestricted(mappingContext, f.getName()),
                        f.getName(),
                        getJavaDoc(f),
                        getDeprecated(mappingContext, f)))
                .collect(Collectors.toList());
    }
private List < EnumValueDefinition > map ( MappingContext mappingContext , List < graphql . language . EnumValueDefinition > enumValueDefinitions ) { return enumValueDefinitions . stream ( ) . map ( f -> new EnumValueDefinition ( dataModelMapper . capitalizeIfRestricted ( mappingContext , f . getName ( ) ) , f . getName ( ) , getJavaDoc ( f ) , getDeprecated ( mappingContext , f ) ) ) . collect ( Collectors . toList ( ) ) ; }
Mapper from GraphQL's EnumValueDefinition to a Freemarker-understandable format
 @param mappingContext       Global mapping context
 @param enumValueDefinitions list of GraphQL EnumValueDefinition types
 @return list of strings
Mapper from GraphQL ' s EnumValueDefinition to a Freemarker - understandable format @param mappingContext Global mapping context @param enumValueDefinitions list of GraphQL EnumValueDefinition types @return list of strings