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
keystring
Returns
EndpointType(string, IEndpoint, string?)
The name and package of a generated endpoint class.
JvmIdentifier EndpointType(string key, IEndpoint endpoint, string? prefix = null)
Parameters
Returns
Property(string)
The name of the member exposing a child endpoint.
string Property(string key)
Parameters
keystring
Returns
TypeFor(OpenApiSchema?)
The JVM type a schema maps to.
JvmIdentifier TypeFor(OpenApiSchema? schema)
Parameters
schemaOpenApiSchema