mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
Update OpenAPI documentation
This commit is contained in:
parent
08d5c7e9da
commit
82e8f7fade
33
openapi.json
33
openapi.json
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user