Converts SCREAMING_SNAKE_CASE to PascalCase: PAYMENT_PENDING → PaymentPending. Java enums, C constants and database enum values are usually upper-case with underscores, while TypeScript enums, C# enums, Swift cases and class names use PascalCase.
Paste an enum body or a list of constants when porting it to another language or generating matching type names on the client side.
String.Result.public enum OrderStatus {
PAYMENT_PENDING,
PAYMENT_DONE,
SHIPPING_STARTED
}public enum OrderStatus {
PaymentPending,
PaymentDone,
ShippingStarted
}The Java enum constants become PascalCase members suitable for a C# or TypeScript enum. OrderStatus and the public enum keywords are not upper-case-with-underscores, so they are untouched.
SHIPPING_STARTED → ShippingStarted.ACTIVE) as they are, because they contain no underscore.C# guidelines use PascalCase for enum members, and many TypeScript codebases do too. Converting the constants and keeping the original value as the string (PaymentPending = "PAYMENT_PENDING") preserves the wire format.
Message codes like USER_SIGNED_UP in a queue can be turned into UserSignedUp event class names for a handler per message.
HTTP_ERROR becomes HttpError, not HTTPError.ACTIVE are skipped; rename them to Active yourself.No, it only rewrites names. If your API sends "PAYMENT_PENDING", write the enum as PaymentPending = "PAYMENT_PENDING" so serialization still matches.
Numeric segments are attached directly: HTTP_2_ENABLED → Http2Enabled, and API_V2 → ApiV2.