in core/package/src/main/kotlin/io/klibs/core/pckg/controller/PackageController.kt [31:58]
fun getPackageDetails(
@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,
@PathVariable("version")
@Parameter(
description = "Version of the Maven artifact",
example = "1.9.0-RC"
)
version: String
): PackageDetailsResponse? {
return packageService.getPackageDetails(
groupId = groupId,
artifactId = artifactId,
version = version
)?.toDTO()
}