File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed
src/main/kotlin/tech/aliorpse/mcutils/model/modrinth Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,17 @@ repositories {
2121 mavenLocal()
2222}
2323
24+ dokka {
25+ dokkaSourceSets {
26+ named(" main" ) {
27+ perPackageOption {
28+ matchingRegex = " .*Adapter$"
29+ suppress = true
30+ }
31+ }
32+ }
33+ }
34+
2435dependencies {
2536 // kotlinx
2637 api(" org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2" )
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import com.squareup.moshi.JsonClass
44import com.squareup.moshi.Json
55
66@JsonClass(generateAdapter = true )
7- data class ModrinthSearchResult (
7+ data class ModrinthProject (
88 val slug : String ,
99 val title : String ,
1010 val description : String ,
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import com.squareup.moshi.JsonClass
55
66@JsonClass(generateAdapter = true )
77internal data class ModrinthSearchResponse (
8- val hits : List <ModrinthSearchResult >,
8+ val hits : List <ModrinthProject >,
99 @field:Json(name = "offset") val offset : Int ,
1010 @field:Json(name = "limit") val limit : Int ,
1111 @field:Json(name = "total_hits") val totalHits : Int
You can’t perform that action at this time.
0 commit comments