diff --git a/komga/docs/openapi.json b/komga/docs/openapi.json index 0ecbaf49c..22f5a601e 100644 --- a/komga/docs/openapi.json +++ b/komga/docs/openapi.json @@ -22,7 +22,8 @@ "enum": [ "8080", "25600" - ] + ], + "default": "25600" } } }, @@ -10300,6 +10301,9 @@ "negative": { "type": "boolean" }, + "positive": { + "type": "boolean" + }, "seconds": { "type": "integer", "format": "int64" @@ -10395,6 +10399,9 @@ "negative": { "type": "boolean" }, + "positive": { + "type": "boolean" + }, "seconds": { "type": "integer", "format": "int64" diff --git a/komga/src/main/kotlin/org/gotson/komga/infrastructure/swagger/OpenApiConfiguration.kt b/komga/src/main/kotlin/org/gotson/komga/infrastructure/swagger/OpenApiConfiguration.kt index b113ed582..d51a45f5f 100644 --- a/komga/src/main/kotlin/org/gotson/komga/infrastructure/swagger/OpenApiConfiguration.kt +++ b/komga/src/main/kotlin/org/gotson/komga/infrastructure/swagger/OpenApiConfiguration.kt @@ -133,7 +133,8 @@ class OpenApiConfiguration( "port", ServerVariable() .addEnumItem("8080") - .addEnumItem("25600"), + .addEnumItem("25600") + ._default("25600"), ), ), Server()