Automated API Docs update

pull/921/head
Servarr 3 years ago committed by Qstick
parent 9ddd38a334
commit 32fc2ec365

@ -2675,6 +2675,7 @@
"in": "path", "in": "path",
"required": true, "required": true,
"schema": { "schema": {
"pattern": "[-.a-zA-Z0-9]+?\\.txt",
"type": "string" "type": "string"
} }
} }
@ -3510,17 +3511,17 @@
"content": { "content": {
"text/plain": { "text/plain": {
"schema": { "schema": {
"$ref": "#/components/schemas/SearchResource" "$ref": "#/components/schemas/ReleaseResource"
} }
}, },
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/SearchResource" "$ref": "#/components/schemas/ReleaseResource"
} }
}, },
"text/json": { "text/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/SearchResource" "$ref": "#/components/schemas/ReleaseResource"
} }
} }
} }
@ -3537,17 +3538,17 @@
"content": { "content": {
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/SearchResource" "$ref": "#/components/schemas/ReleaseResource"
} }
}, },
"text/json": { "text/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/SearchResource" "$ref": "#/components/schemas/ReleaseResource"
} }
}, },
"application/*+json": { "application/*+json": {
"schema": { "schema": {
"$ref": "#/components/schemas/SearchResource" "$ref": "#/components/schemas/ReleaseResource"
} }
} }
} }
@ -3558,17 +3559,17 @@
"content": { "content": {
"text/plain": { "text/plain": {
"schema": { "schema": {
"$ref": "#/components/schemas/SearchResource" "$ref": "#/components/schemas/ReleaseResource"
} }
}, },
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/SearchResource" "$ref": "#/components/schemas/ReleaseResource"
} }
}, },
"text/json": { "text/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/SearchResource" "$ref": "#/components/schemas/ReleaseResource"
} }
} }
} }
@ -3581,14 +3582,21 @@
], ],
"parameters": [ "parameters": [
{ {
"name": "query", "name": "Query",
"in": "query", "in": "query",
"schema": { "schema": {
"type": "string" "type": "string"
} }
}, },
{ {
"name": "indexerIds", "name": "Type",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "IndexerIds",
"in": "query", "in": "query",
"schema": { "schema": {
"type": "array", "type": "array",
@ -3599,7 +3607,7 @@
} }
}, },
{ {
"name": "categories", "name": "Categories",
"in": "query", "in": "query",
"schema": { "schema": {
"type": "array", "type": "array",
@ -3610,11 +3618,19 @@
} }
}, },
{ {
"name": "type", "name": "Limit",
"in": "query", "in": "query",
"schema": { "schema": {
"type": "string", "type": "integer",
"default": "search" "format": "int32"
}
},
{
"name": "Offset",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
} }
} }
], ],
@ -3626,7 +3642,7 @@
"schema": { "schema": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/components/schemas/SearchResource" "$ref": "#/components/schemas/ReleaseResource"
} }
} }
}, },
@ -3634,7 +3650,7 @@
"schema": { "schema": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/components/schemas/SearchResource" "$ref": "#/components/schemas/ReleaseResource"
} }
} }
}, },
@ -3642,7 +3658,7 @@
"schema": { "schema": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/components/schemas/SearchResource" "$ref": "#/components/schemas/ReleaseResource"
} }
} }
} }
@ -3662,7 +3678,7 @@
"schema": { "schema": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/components/schemas/SearchResource" "$ref": "#/components/schemas/ReleaseResource"
} }
} }
}, },
@ -3670,7 +3686,7 @@
"schema": { "schema": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/components/schemas/SearchResource" "$ref": "#/components/schemas/ReleaseResource"
} }
} }
}, },
@ -3678,7 +3694,7 @@
"schema": { "schema": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/components/schemas/SearchResource" "$ref": "#/components/schemas/ReleaseResource"
} }
} }
} }
@ -3690,17 +3706,17 @@
"content": { "content": {
"text/plain": { "text/plain": {
"schema": { "schema": {
"$ref": "#/components/schemas/SearchResource" "$ref": "#/components/schemas/ReleaseResource"
} }
}, },
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/SearchResource" "$ref": "#/components/schemas/ReleaseResource"
} }
}, },
"text/json": { "text/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/SearchResource" "$ref": "#/components/schemas/ReleaseResource"
} }
} }
} }
@ -3719,6 +3735,7 @@
"in": "path", "in": "path",
"required": true, "required": true,
"schema": { "schema": {
"pattern": "^(?!api/).*",
"type": "string" "type": "string"
} }
} }
@ -3763,6 +3780,7 @@
"in": "path", "in": "path",
"required": true, "required": true,
"schema": { "schema": {
"pattern": "^(?!api/).*",
"type": "string" "type": "string"
} }
} }
@ -4383,6 +4401,7 @@
"in": "path", "in": "path",
"required": true, "required": true,
"schema": { "schema": {
"pattern": "[-.a-zA-Z0-9]+?\\.txt",
"type": "string" "type": "string"
} }
} }
@ -4397,6 +4416,29 @@
}, },
"components": { "components": {
"schemas": { "schemas": {
"AppProfileResource": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string",
"nullable": true
},
"enableRss": {
"type": "boolean"
},
"enableInteractiveSearch": {
"type": "boolean"
},
"enableAutomaticSearch": {
"type": "boolean"
}
},
"additionalProperties": false
},
"ApplicationResource": { "ApplicationResource": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -4476,29 +4518,6 @@
], ],
"type": "string" "type": "string"
}, },
"AppProfileResource": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string",
"nullable": true
},
"enableRss": {
"type": "boolean"
},
"enableInteractiveSearch": {
"type": "boolean"
},
"enableAutomaticSearch": {
"type": "boolean"
}
},
"additionalProperties": false
},
"AuthenticationType": { "AuthenticationType": {
"enum": [ "enum": [
"none", "none",
@ -4982,7 +5001,8 @@
"data": { "data": {
"type": "object", "type": "object",
"additionalProperties": { "additionalProperties": {
"type": "string" "type": "string",
"nullable": true
}, },
"nullable": true "nullable": true
} }
@ -5184,28 +5204,34 @@
}, },
"scheme": { "scheme": {
"type": "string", "type": "string",
"nullable": true "nullable": true,
"readOnly": true
}, },
"host": { "host": {
"type": "string", "type": "string",
"nullable": true "nullable": true,
"readOnly": true
}, },
"port": { "port": {
"type": "integer", "type": "integer",
"format": "int32", "format": "int32",
"nullable": true "nullable": true,
"readOnly": true
}, },
"path": { "path": {
"type": "string", "type": "string",
"nullable": true "nullable": true,
"readOnly": true
}, },
"query": { "query": {
"type": "string", "type": "string",
"nullable": true "nullable": true,
"readOnly": true
}, },
"fragment": { "fragment": {
"type": "string", "type": "string",
"nullable": true "nullable": true,
"readOnly": true
} }
}, },
"additionalProperties": false "additionalProperties": false
@ -5844,7 +5870,7 @@
], ],
"type": "string" "type": "string"
}, },
"SearchResource": { "ReleaseResource": {
"type": "object", "type": "object",
"properties": { "properties": {
"id": { "id": {
@ -6099,23 +6125,28 @@
}, },
"days": { "days": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32",
"readOnly": true
}, },
"hours": { "hours": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32",
"readOnly": true
}, },
"milliseconds": { "milliseconds": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32",
"readOnly": true
}, },
"minutes": { "minutes": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32",
"readOnly": true
}, },
"seconds": { "seconds": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32",
"readOnly": true
}, },
"totalDays": { "totalDays": {
"type": "number", "type": "number",
@ -6292,19 +6323,23 @@
"properties": { "properties": {
"major": { "major": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32",
"readOnly": true
}, },
"minor": { "minor": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32",
"readOnly": true
}, },
"build": { "build": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32",
"readOnly": true
}, },
"revision": { "revision": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32",
"readOnly": true
}, },
"majorRevision": { "majorRevision": {
"type": "integer", "type": "integer",

Loading…
Cancel
Save