1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-22 07:42:28 +00:00

Automated API Docs update

This commit is contained in:
Servarr 2024-08-26 04:14:01 +00:00 committed by Bogdan
parent 8d3dc0a470
commit 7738ee78c8

View file

@ -439,20 +439,10 @@
"200": { "200": {
"description": "OK", "description": "OK",
"content": { "content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ArtistResource"
}
},
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/ArtistResource" "$ref": "#/components/schemas/ArtistResource"
} }
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ArtistResource"
}
} }
} }
} }
@ -544,20 +534,10 @@
"200": { "200": {
"description": "OK", "description": "OK",
"content": { "content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ArtistResource"
}
},
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/ArtistResource" "$ref": "#/components/schemas/ArtistResource"
} }
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ArtistResource"
}
} }
} }
} }
@ -1633,6 +1613,26 @@
} }
}, },
"/api/v1/customformat": { "/api/v1/customformat": {
"get": {
"tags": [
"CustomFormat"
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CustomFormatResource"
}
}
}
}
}
}
},
"post": { "post": {
"tags": [ "tags": [
"CustomFormat" "CustomFormat"
@ -1668,26 +1668,53 @@
} }
} }
} }
}, }
"get": { },
"/api/v1/customformat/bulk": {
"put": {
"tags": [ "tags": [
"CustomFormat" "CustomFormat"
], ],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CustomFormatBulkResource"
}
}
}
},
"responses": { "responses": {
"200": { "200": {
"description": "OK", "description": "OK",
"content": { "content": {
"application/json": { "application/json": {
"schema": { "schema": {
"type": "array", "$ref": "#/components/schemas/CustomFormatResource"
"items": {
"$ref": "#/components/schemas/CustomFormatResource"
}
} }
} }
} }
} }
} }
},
"delete": {
"tags": [
"CustomFormat"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CustomFormatBulkResource"
}
}
}
},
"responses": {
"200": {
"description": "OK"
}
}
} }
}, },
"/api/v1/customformat/schema": { "/api/v1/customformat/schema": {
@ -9296,6 +9323,25 @@
}, },
"additionalProperties": false "additionalProperties": false
}, },
"CustomFormatBulkResource": {
"type": "object",
"properties": {
"ids": {
"uniqueItems": true,
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true
},
"includeCustomFormatWhenRenaming": {
"type": "boolean",
"nullable": true
}
},
"additionalProperties": false
},
"CustomFormatResource": { "CustomFormatResource": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -9877,6 +9923,10 @@
"type": "string", "type": "string",
"nullable": true "nullable": true
}, },
"logSizeLimit": {
"type": "integer",
"format": "int32"
},
"consoleLogLevel": { "consoleLogLevel": {
"type": "string", "type": "string",
"nullable": true "nullable": true