Skip to content

Commit 183c76b

Browse files
lua and kotlin fixes
1 parent 415bd68 commit 183c76b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/main/kotlin/BowtieSampsonSchemaValidatorLauncher.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ class BowtieSampsonSchemaValidatorLauncher(
209209
issues = libraryIssues,
210210
source = librarySource,
211211
os = System.getProperty("os.name"),
212-
os_version = System.getProperty("os.version"),
213-
language_version = KotlinVersion.CURRENT.toString(),
212+
osVersion = System.getProperty("os.version"),
213+
languageVersion = KotlinVersion.CURRENT.toString(),
214214
),
215215
),
216216
),

src/main/kotlin/Responses.kt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import kotlinx.serialization.Serializable
2+
import kotlinx.serialization.SerialName
23
import kotlinx.serialization.json.JsonElement
34

45
@Serializable
@@ -7,7 +8,7 @@ class StartResponse(
78
val implementation: Implementation,
89
)
910

10-
@Suppress("LongParameterList", "ConstructorParameterNaming")
11+
@Suppress("LongParameterList")
1112
@Serializable
1213
class Implementation(
1314
val language: String = "kotlin",
@@ -18,8 +19,8 @@ class Implementation(
1819
val issues: String,
1920
val source: String,
2021
val os: String,
21-
val os_version: String,
22-
val language_version: String,
22+
@SerialName("os_version") val osVersion: String,
23+
@SerialName("language_version") val languageVersion: String,
2324
)
2425

2526
@Serializable

0 commit comments

Comments
 (0)