From 89f606350fad9bc2497386e95ee6bfa3d48bd459 Mon Sep 17 00:00:00 2001 From: Michel Hartmann Date: Thu, 19 Dec 2024 18:38:29 +0100 Subject: [PATCH] Fix CS --- src/test/kotlin/org/cip4/xjdf/json/openapi/SchemaSingleton.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/kotlin/org/cip4/xjdf/json/openapi/SchemaSingleton.kt b/src/test/kotlin/org/cip4/xjdf/json/openapi/SchemaSingleton.kt index 32671a6..0507139 100644 --- a/src/test/kotlin/org/cip4/xjdf/json/openapi/SchemaSingleton.kt +++ b/src/test/kotlin/org/cip4/xjdf/json/openapi/SchemaSingleton.kt @@ -77,13 +77,13 @@ object SchemaSingleton { return factory.getSchema(schema, config) } - fun getSchemaForSignal(path: Path, code: Int = 200): JsonSchema { + fun getSchemaForSignal(path: Path): JsonSchema { val schema = getSchemaForPath(path)["post"]["callbacks"]["signal"].first()["post"]["requestBody"]["content"].first()["schema"] try { return factory.getSchema(schema, config) } catch (e: ClassCastException) { - throw e; + throw e } }