C# 클래스 NSwag.CodeGeneration.CodeGenerators.OperationNameGenerators.MultipleClientsFromOperationIdOperationNameGenerator

Generates multiple clients and operation names based on the Swagger operation ID (underscore separated).
상속: IOperationNameGenerator
파일 보기 프로젝트 열기: NSwag/NSwag

공개 메소드들

메소드 설명
GetClientName ( SwaggerDocument document, string path, SwaggerOperationMethod httpMethod, SwaggerOperation operation ) : string

Gets the client name for a given operation.

GetOperationName ( SwaggerDocument document, string path, SwaggerOperationMethod httpMethod, SwaggerOperation operation ) : string

Gets the operation name for a given operation.

비공개 메소드들

메소드 설명
GetClientName ( SwaggerOperation operation ) : string
GetOperationName ( SwaggerOperation operation ) : string

메소드 상세

GetClientName() 공개 메소드

Gets the client name for a given operation.
public GetClientName ( SwaggerDocument document, string path, SwaggerOperationMethod httpMethod, SwaggerOperation operation ) : string
document SwaggerDocument The Swagger document.
path string The HTTP path.
httpMethod SwaggerOperationMethod The HTTP method.
operation SwaggerOperation The operation.
리턴 string

GetOperationName() 공개 메소드

Gets the operation name for a given operation.
public GetOperationName ( SwaggerDocument document, string path, SwaggerOperationMethod httpMethod, SwaggerOperation operation ) : string
document SwaggerDocument The Swagger document.
path string The HTTP path.
httpMethod SwaggerOperationMethod The HTTP method.
operation SwaggerOperation The operation.
리턴 string