Automated API Docs update

pull/1062/head
Servarr 2 years ago committed by Qstick
parent 970f80b155
commit 8baf1b533b

@ -2523,50 +2523,22 @@
} }
} }
}, },
"/api/v1/language/{id}": { "/api/v1/localization": {
"get": { "get": {
"tags": [ "tags": [
"Language" "Localization"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
}
], ],
"responses": { "responses": {
"200": { "200": {
"description": "Success", "description": "Success"
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/LanguageResource"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/LanguageResource"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/LanguageResource"
}
}
}
} }
} }
} }
}, },
"/api/v1/language": { "/api/v1/localization/options": {
"get": { "get": {
"tags": [ "tags": [
"Language" "Localization"
], ],
"responses": { "responses": {
"200": { "200": {
@ -2576,7 +2548,7 @@
"schema": { "schema": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/components/schemas/LanguageResource" "$ref": "#/components/schemas/LocalizationOption"
} }
} }
} }
@ -2585,18 +2557,6 @@
} }
} }
}, },
"/api/v1/localization": {
"get": {
"tags": [
"Localization"
],
"responses": {
"200": {
"description": "Success"
}
}
}
},
"/api/v1/log": { "/api/v1/log": {
"get": { "get": {
"tags": [ "tags": [
@ -5687,21 +5647,16 @@
}, },
"additionalProperties": false "additionalProperties": false
}, },
"LanguageResource": { "LocalizationOption": {
"type": "object", "type": "object",
"properties": { "properties": {
"id": {
"type": "integer",
"format": "int32"
},
"name": { "name": {
"type": "string", "type": "string",
"nullable": true "nullable": true
}, },
"nameLower": { "value": {
"type": "string", "type": "string",
"nullable": true, "nullable": true
"readOnly": true
} }
}, },
"additionalProperties": false "additionalProperties": false
@ -6314,8 +6269,8 @@
"type": "boolean" "type": "boolean"
}, },
"uiLanguage": { "uiLanguage": {
"type": "integer", "type": "string",
"format": "int32" "nullable": true
}, },
"theme": { "theme": {
"type": "string", "type": "string",

Loading…
Cancel
Save