Enum OperationNameGeneratorTypes
The NSwag IOperationNameGenerator implementation to use
public enum OperationNameGeneratorTypes
Fields
Default = 0Use the Refitter IOperationNameGenerator implementation This uses MultipleClientsFromOperationId by default but if there are duplicate operation ID's it is changed to MultipleClientsFromFirstTagAndPathSegments
MultipleClientsFromFirstTagAndOperationId = 3Generates the client name based on the first tag and operation name based on the operation id (operation name = operationId, client name = first tag).
MultipleClientsFromFirstTagAndOperationName = 4Generates the client name based on the first tag and operation names based on the Swagger operation ID (underscore separated).
MultipleClientsFromFirstTagAndPathSegments = 5Generates the client name based on the first tag and operation name based on the path segments (operation name = last segment, client name = first tag).
MultipleClientsFromOperationId = 1Generates multiple clients and operation names based on the Swagger operation ID (underscore separated).
MultipleClientsFromPathSegments = 2Generates the client and operation name based on the path segments (operation name = last segment, client name = second to last segment).
SingleClientFromOperationId = 6Generates the client and operation name based on the Swagger operation ID.
SingleClientFromPathSegments = 7Generates the operation name from path segments (suffixed by HTTP operation name if need be)