Adil Iqbal created TEXT-217:
-------------------------------

             Summary: Snake case utility method: CaseUtils.toSnakeCase(....)
                 Key: TEXT-217
                 URL: https://issues.apache.org/jira/browse/TEXT-217
             Project: Commons Text
          Issue Type: New Feature
    Affects Versions: 1.9
            Reporter: Adil Iqbal
             Fix For: 1.9


Requesting a feature to convert any string to snake case, as per 
CaseUtils.toCamelCase(...)

*Rationale:*

As per the OpenAPI Specification 3.0, keys should be in snake case. There is 
currently no common utility that can be used to accomplish that task.

Any interaction between Java and Python is hindered, since Python uses snake 
case as a best practice.

*Feature Set Requested:*

All features currently included in CaseUtils.toCamelCase(...) sans 
capitalization flag. As you know, the capitalization flag was implemented to 
support PascalCase, which is a convention even in Java, for many situations. 
There is no equivalent for snake case.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to