Update OpenAPI documentation

This commit is contained in:
GitHub Action 2025-03-13 22:56:50 +00:00
parent 08d5c7e9da
commit 82e8f7fade

View File

@ -3917,6 +3917,8 @@
"tags": [ "tags": [
"Locale" "Locale"
], ],
"summary": "Returns all applicable locales on the server",
"description": "This can be cached as it will not change per version.",
"responses": { "responses": {
"200": { "200": {
"description": "OK", "description": "OK",
@ -3925,7 +3927,7 @@
"schema": { "schema": {
"type": "array", "type": "array",
"items": { "items": {
"type": "string" "$ref": "#/components/schemas/KavitaLocale"
} }
} }
}, },
@ -3933,7 +3935,7 @@
"schema": { "schema": {
"type": "array", "type": "array",
"items": { "items": {
"type": "string" "$ref": "#/components/schemas/KavitaLocale"
} }
} }
}, },
@ -3941,7 +3943,7 @@
"schema": { "schema": {
"type": "array", "type": "array",
"items": { "items": {
"type": "string" "$ref": "#/components/schemas/KavitaLocale"
} }
} }
} }
@ -19139,6 +19141,31 @@
"additionalProperties": false, "additionalProperties": false,
"description": "Represents an individual button in a Jump Bar" "description": "Represents an individual button in a Jump Bar"
}, },
"KavitaLocale": {
"type": "object",
"properties": {
"fileName": {
"type": "string",
"nullable": true
},
"renderName": {
"type": "string",
"nullable": true
},
"translationCompletion": {
"type": "number",
"format": "float"
},
"isRtL": {
"type": "boolean"
},
"hash": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"LanguageDto": { "LanguageDto": {
"required": [ "required": [
"isoCode", "isoCode",