Table of Contents

Interface INamingStrategy

Namespace
TypedRest.CodeGeneration.Jvm
Assembly
TypedRest.CodeGeneration.Jvm.dll

Decides what the types and members of a generated JVM client are called.

public interface INamingStrategy

Methods

DtoType(string)

The name and package of a generated DTO type.

JvmIdentifier DtoType(string key)

Parameters

key string

Returns

JvmIdentifier

EndpointType(string, IEndpoint, string?)

The name and package of a generated endpoint class.

JvmIdentifier EndpointType(string key, IEndpoint endpoint, string? prefix = null)

Parameters

key string
endpoint IEndpoint
prefix string

Returns

JvmIdentifier

Property(string)

The name of the member exposing a child endpoint.

string Property(string key)

Parameters

key string

Returns

string

TypeFor(OpenApiSchema?)

The JVM type a schema maps to.

JvmIdentifier TypeFor(OpenApiSchema? schema)

Parameters

schema OpenApiSchema

Returns

JvmIdentifier