in core/package/src/main/kotlin/io/klibs/core/pckg/controller/PackageController.kt [62:81]
fun getLatestPackageDetails(
@PathVariable("groupId")
@Parameter(
description = "Group ID of the Maven artifact",
example = "org.jetbrains.kotlinx"
)
groupId: String,
@PathVariable("artifactId")
@Parameter(
description = "Artifact ID of the Maven artifact",
example = "kotlinx-coroutines-core"
)
artifactId: String
): PackageDetailsResponse? {
return packageService.getLatestPackageDetails(
groupId = groupId,
artifactId = artifactId
)?.toDTO()
}