Experinemtal parser generates inconsistent operation enum naming #1315
Labels
bug 🔥
Something isn't working
prioritized 🚚
This issue has been prioritized and will be worked on soon
Milestone
Description
Description
The experimental OpenAPI parser is generating inconsistent naming patterns for operation enums compared to the previous parser.
Previous:
export const Operation = { EQUALS: "Equals", NOT_EQUALS: "NotEquals", IN: "In", NOT_IN: "NotIn", GREATER_THEN: "GreaterThen", LESS_THAN: "LessThan", BETWEEN: "Between", EMPTY: "Empty", NOT_EMPTY: "NotEmpty", NONE: "None", } as const;
Current:
export const Operation = { EQUALS: "Equals", NOTEQUALS: "NotEquals", IN: "In", NOTIN: "NotIn", GREATERTHEN: "GreaterThen", LESSTHAN: "LessThan", BETWEEN: "Between", EMPTY: "Empty", NOTEMPTY: "NotEmpty", NONE: "None", } as const;
This breaks existing code that references these enum values and introduces inconsistency in the naming convention.
Expected Behavior
Operation enum values should maintain consistent underscore-separated naming (e.g.,
NOT_EQUALS
) as in the previous parser.Current Behavior
Operation enum values are generated without underscores (e.g.,
NOTEQUALS
), breaking existing code references.Reproducible example or configuration
No response
OpenAPI specification (optional)
No response
System information (optional)
No response
The text was updated successfully, but these errors were encountered: