fix(deps): update dependency io.gitlab.arturbosch.detekt:detekt-formatting to v1.23.1 (#471)

* fix(deps): update dependency io.gitlab.arturbosch.detekt:detekt-formatting to v1.23.1

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ryan Brink <rbweb@pm.me>
This commit is contained in:
renovate[bot]
2023-09-10 18:02:42 -04:00
committed by GitHub
parent 833bf463e7
commit 2410c81797
5 changed files with 7 additions and 5 deletions

View File

@ -1,9 +1,9 @@
plugins { plugins {
kotlin("jvm") version "1.9.10" apply false kotlin("jvm") version "1.9.10" apply false
kotlin("plugin.serialization") version "1.9.10" apply false kotlin("plugin.serialization") version "1.9.10" apply false
id("io.bkbn.sourdough.library.jvm") version "0.12.0" apply false id("io.bkbn.sourdough.library.jvm") version "0.12.1" apply false
id("io.bkbn.sourdough.application.jvm") version "0.12.0" apply false id("io.bkbn.sourdough.application.jvm") version "0.12.1" apply false
id("io.bkbn.sourdough.root") version "0.12.0" id("io.bkbn.sourdough.root") version "0.12.1"
id("com.github.jakemarsden.git-hooks") version "0.0.2" id("com.github.jakemarsden.git-hooks") version "0.0.2"
id("org.jetbrains.kotlinx.kover") version "0.7.3" id("org.jetbrains.kotlinx.kover") version "0.7.3"
id("io.github.gradle-nexus.publish-plugin") version "1.3.0" id("io.github.gradle-nexus.publish-plugin") version "1.3.0"

View File

@ -42,6 +42,7 @@ object Helpers {
} }
} }
@Suppress("CyclomaticComplexMethod")
fun MethodInfo.addToSpec( fun MethodInfo.addToSpec(
path: Path, path: Path,
spec: OpenApiSpec, spec: OpenApiSpec,

View File

@ -11,4 +11,4 @@ org.gradle.parallel=true
# Dependencies # Dependencies
ktorVersion=2.3.4 ktorVersion=2.3.4
kotestVersion=5.7.2 kotestVersion=5.7.2
detektVersion=1.22.0 detektVersion=1.23.1

View File

@ -18,6 +18,7 @@ import kotlin.reflect.full.isSubclassOf
object SchemaGenerator { object SchemaGenerator {
@Suppress("CyclomaticComplexMethod")
fun fromTypeToSchema( fun fromTypeToSchema(
type: KType, type: KType,
cache: MutableMap<String, JsonSchema>, cache: MutableMap<String, JsonSchema>,

View File

@ -13,6 +13,6 @@ class ApiKeyAuth private constructor(val `in`: String, val name: String) : Secur
enum class ApiKeyLocation(val value: String) { enum class ApiKeyLocation(val value: String) {
HEADER("header"), HEADER("header"),
QUERY("query"), QUERY("query"),
COOKIE("cookie"); COOKIE("cookie")
} }
} }