-
-
Notifications
You must be signed in to change notification settings - Fork 519
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Background
Currently, orval ensures global uniqueness of generated operation names across the entire OpenAPI document.
When name collisions are detected, numeric suffixes (1, 2, 3, …) are appended automatically.
While this behavior is safe, it produces unintuitive results when using structured output modes such as:
mode: tags
mode: split
In these modes, operations are already grouped into separate output files, but name disambiguation is still applied globally, even when there is no conflict within the same file.
This leads to cases where operations inside a single tag/file are unnecessarily renamed, for example:
export const {
update1,
listCompanyProject1,
create1,
delete3
} = ...
even though no duplicates exist within that tag.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request