fiber-cloud/Fiber

View on GitHub
Fiber-Command/src/main/kotlin/app/fiber/project/command/annotation/Route.kt

Summary

Maintainability
A
0 mins
Test Coverage
package app.fiber.project.command.annotation

/**
 * Declares a [app.fiber.project.command.CommandRoute].
 *
 * @property [name] Name of the route to identify with. As default, the name is empty for the default route.
 * @property [description] Description of the usage of the [Route].
 *
 * @author Tammo0987
 * @since 1.0
 */
@Retention
@Target(AnnotationTarget.FUNCTION)
annotation class Route(
    val name: String = "",
    val description: String
)