Package-level declarations

Types

Link copied to clipboard
annotation class CustomParametersOrder(val order: String)

The CustomParametersOrder annotation is useful to manage the custom parameters order for a better readability of the code and to work with that parameters correctly

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS] )
annotation class DTO

The DTO annotation is useful to indicate whether a class is used as Data Transfer Object

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION] )
annotation class RequestPath(val method: RequestMethod, val path: String = "", val pathParameters: String = "", val queryParameters: String = "", val bodyParameters: String = "")

Annotation that defines the request path and its parameters for API requests.

Link copied to clipboard

The RequiresSuperCall annotation is useful to indicate that an inherited or an overridden method to works correctly and completely requires that also the original method is invoked like the @CallSuper annotation.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS] )
annotation class Structure

The @Structure annotation is applied to classes that define a general structure and behavior for a potential hierarchy, along with its subclasses. It marks classes that provide a common template or foundation, often used for sharing general properties and functionality across a set of related classes.

Link copied to clipboard

The @Wrapper annotation is applied to those wrapper methods that wrap the main method, facilitating access to the latter by avoiding the need to pass some unnecessary arguments.