Package guru.zoroark.tegral.openapi.ktor.resources
Types
Link copied to clipboard
Provides endpoint descriptions for resource classes.
Functions
Link copied to clipboard
fun describeResource(description: OperationDsl.() -> Unit): ResourceDescription
Content copied to clipboard
Function that should be used to implement ResourceDescription on resource classes.
Link copied to clipboard
inline fun <T : Any> descriptionFromCompanionObject(): OperationDsl.() -> Unit
Content copied to clipboard
Retrieves a resource description from the given class' companion object.