Cleanup Swagger warnings (#1177) [skip ci]

pull/1689/head
Qstick 4 years ago
parent c971566c5a
commit c50bedebc1

@ -26,10 +26,6 @@
} }
} }
], ],
"schemes": [
"https",
"http"
],
"tags": [ "tags": [
{ {
"name": "Artist" "name": "Artist"
@ -64,7 +60,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of album to retrieve",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/wanted/cutoff": { "/api/v1/wanted/cutoff": {
"get": { "get": {
@ -106,7 +112,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of album to retrieve",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/wanted/missing": { "/api/v1/wanted/missing": {
"get": { "get": {
@ -210,7 +226,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of track to retrieve",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/track": { "/api/v1/track": {
"get": { "get": {
@ -288,7 +314,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of trackfile",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/trackfile": { "/api/v1/trackfile": {
"get": { "get": {
@ -390,7 +426,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of tag",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/tag/detail": { "/api/v1/tag/detail": {
"get": { "get": {
@ -468,7 +514,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of tag",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/tag": { "/api/v1/tag": {
"get": { "get": {
@ -651,7 +707,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of task",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/system/backup": { "/api/v1/system/backup": {
"get": { "get": {
@ -693,7 +759,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of backup",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/system/backup/restore/{id}": { "/api/v1/system/backup/restore/{id}": {
"post": { "post": {
@ -714,7 +790,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of backup",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/system/backup/restore/upload": { "/api/v1/system/backup/restore/upload": {
"post": { "post": {
@ -870,7 +956,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of Root Folder",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/remotepathmapping": { "/api/v1/remotepathmapping": {
"get": { "get": {
@ -984,7 +1080,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of Remote Mapping",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/queue/grab/{id}": { "/api/v1/queue/grab/{id}": {
"post": { "post": {
@ -1005,7 +1111,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of Queue Item",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/queue/grab/bulk": { "/api/v1/queue/grab/bulk": {
"post": { "post": {
@ -1047,7 +1163,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of Queue Item",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/queue/bulk": { "/api/v1/queue/bulk": {
"delete": { "delete": {
@ -1209,7 +1335,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of Quality Definition",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/qualitydefinition/update": { "/api/v1/qualitydefinition/update": {
"put": { "put": {
@ -1287,7 +1423,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of Release Profile",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/releaseprofile": { "/api/v1/releaseprofile": {
"get": { "get": {
@ -1458,7 +1604,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of Quality Profile",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/qualityprofile/schema": { "/api/v1/qualityprofile/schema": {
"get": { "get": {
@ -1593,7 +1749,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of Metadata Profile",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/metadataprofile/schema": { "/api/v1/metadataprofile/schema": {
"get": { "get": {
@ -1728,7 +1894,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of Delay Profile",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/delayprofile/reorder/{id}": { "/api/v1/delayprofile/reorder/{id}": {
"put": { "put": {
@ -1749,7 +1925,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of Delay Profile",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/parse": { "/api/v1/parse": {
"get": { "get": {
@ -1854,7 +2040,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "action",
"in": "path",
"description": "This parameter is not annotated",
"required": true,
"schema": {
"type": "string"
}
}
]
}, },
"/api/v1/notification": { "/api/v1/notification": {
"get": { "get": {
@ -1968,7 +2164,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of notification",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/metadata/schema": { "/api/v1/metadata/schema": {
"get": { "get": {
@ -2052,7 +2258,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "action",
"in": "path",
"description": "This parameter is not annotated",
"required": true,
"schema": {
"type": "string"
}
}
]
}, },
"/api/v1/metadata": { "/api/v1/metadata": {
"get": { "get": {
@ -2166,9 +2382,19 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of Metadata",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/MediaCover/Artist/(?<artistId>\\d+)/(?<filename>(.+)\\.(jpg|png|gif))": { "/api/v1/MediaCover/Artist/{artistId}/{filename}": {
"get": { "get": {
"tags": [ "tags": [
"Media Covers" "Media Covers"
@ -2187,9 +2413,28 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "artistId",
"in": "path",
"description": "This parameter is not annotated",
"required": true,
"schema": {
"type": "integer"
}
},
{
"name": "filename",
"in": "path",
"description": "This parameter is not annotated",
"required": true,
"schema": {
"type": "string"
}
}
]
}, },
"/api/v1/MediaCover/Album/(?<artistId>\\d+)/(?<filename>(.+)\\.(jpg|png|gif))": { "/api/v1/MediaCover/Album/{artistId}/{filename}": {
"get": { "get": {
"tags": [ "tags": [
"Media Covers" "Media Covers"
@ -2208,7 +2453,26 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "artistId",
"in": "path",
"description": "This parameter is not annotated",
"required": true,
"schema": {
"type": "integer"
}
},
{
"name": "filename",
"in": "path",
"description": "This parameter is not annotated",
"required": true,
"schema": {
"type": "string"
}
}
]
}, },
"/api/v1/manualimport": { "/api/v1/manualimport": {
"get": { "get": {
@ -2270,7 +2534,7 @@
}, },
"parameters": [] "parameters": []
}, },
"/api/v1/log/file/(?<filename>[-.a-zA-Z0-9]+?\\.txt)": { "/api/v1/log/file/{filename}": {
"get": { "get": {
"tags": [ "tags": [
"Logs" "Logs"
@ -2289,7 +2553,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "filename",
"in": "path",
"description": "Filename of Log File to retrieve",
"required": true,
"schema": {
"type": "string"
}
}
]
}, },
"/api/v1/log": { "/api/v1/log": {
"get": { "get": {
@ -2333,7 +2607,7 @@
}, },
"parameters": [] "parameters": []
}, },
"/api/v1/log/file/update/(?<filename>[-.a-zA-Z0-9]+?\\.txt)": { "/api/v1/log/file/update/{filename}": {
"get": { "get": {
"tags": [ "tags": [
"Logs" "Logs"
@ -2352,7 +2626,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "filename",
"in": "path",
"description": "Filename of Update Log File to retrieve",
"required": true,
"schema": {
"type": "string"
}
}
]
}, },
"/api/v1/indexer/schema": { "/api/v1/indexer/schema": {
"get": { "get": {
@ -2436,7 +2720,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "action",
"in": "path",
"description": "This parameter is not annotated",
"required": true,
"schema": {
"type": "string"
}
}
]
}, },
"/api/v1/indexer": { "/api/v1/indexer": {
"get": { "get": {
@ -2550,7 +2844,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of Indexer",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/release": { "/api/v1/release": {
"get": { "get": {
@ -2646,7 +2950,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "This parameter is not annotated",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/importlistexclusion": { "/api/v1/importlistexclusion": {
"get": { "get": {
@ -2787,7 +3101,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "action",
"in": "path",
"description": "This parameter is not annotated",
"required": true,
"schema": {
"type": "string"
}
}
]
}, },
"/api/v1/importlist": { "/api/v1/importlist": {
"get": { "get": {
@ -2901,7 +3225,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "This parameter is not annotated",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/history": { "/api/v1/history": {
"get": { "get": {
@ -3153,7 +3487,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "action",
"in": "path",
"description": "This parameter is not annotated",
"required": true,
"schema": {
"type": "string"
}
}
]
}, },
"/api/v1/downloadclient": { "/api/v1/downloadclient": {
"get": { "get": {
@ -3267,7 +3611,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "This parameter is not annotated",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/diskspace": { "/api/v1/diskspace": {
"get": { "get": {
@ -3345,7 +3699,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "This parameter is not annotated",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/customfilter": { "/api/v1/customfilter": {
"get": { "get": {
@ -3480,7 +3844,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "This parameter is not annotated",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/config/host": { "/api/v1/config/host": {
"get": { "get": {
@ -3558,7 +3932,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "This parameter is not annotated",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/config/indexer": { "/api/v1/config/indexer": {
"get": { "get": {
@ -3636,7 +4020,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "This parameter is not annotated",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/config/mediamanagement": { "/api/v1/config/mediamanagement": {
"get": { "get": {
@ -3714,7 +4108,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "This parameter is not annotated",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/config/metadataprovider": { "/api/v1/config/metadataprovider": {
"get": { "get": {
@ -3792,7 +4196,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "This parameter is not annotated",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/config/naming": { "/api/v1/config/naming": {
"get": { "get": {
@ -3870,7 +4284,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "This parameter is not annotated",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/config/naming/examples": { "/api/v1/config/naming/examples": {
"get": { "get": {
@ -3969,7 +4393,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "This parameter is not annotated",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/command/{id}": { "/api/v1/command/{id}": {
"get": { "get": {
@ -4008,7 +4442,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of Command",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/command": { "/api/v1/command": {
"get": { "get": {
@ -4089,7 +4533,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "This parameter is not annotated",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/calendar": { "/api/v1/calendar": {
"get": { "get": {
@ -4152,7 +4606,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of Blacklist Item",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/artist/editor": { "/api/v1/artist/editor": {
"put": { "put": {
@ -4198,8 +4662,8 @@
"tags": [ "tags": [
"Artist" "Artist"
], ],
"summary": "Warning: no annotated method found for this route", "summary": "Add multiple existsing Artist folders to DB",
"description": "This route is not annotated.", "description": "",
"operationId": "", "operationId": "",
"responses": { "responses": {
"200": { "200": {
@ -4219,8 +4683,8 @@
"tags": [ "tags": [
"Artist" "Artist"
], ],
"summary": "Warning: no annotated method found for this route", "summary": "Search for Album not in DB",
"description": "This route is not annotated.", "description": "",
"operationId": "", "operationId": "",
"responses": { "responses": {
"200": { "200": {
@ -4240,8 +4704,8 @@
"tags": [ "tags": [
"Artist" "Artist"
], ],
"summary": "Warning: no annotated method found for this route", "summary": "Get all Artists",
"description": "This route is not annotated.", "description": "This route is used to retrieve all artist records in the database",
"operationId": "", "operationId": "",
"responses": { "responses": {
"200": { "200": {
@ -4297,8 +4761,8 @@
"tags": [ "tags": [
"Artist" "Artist"
], ],
"summary": "Warning: no annotated method found for this route", "summary": "Get Artist by Id",
"description": "This route is not annotated.", "description": "",
"operationId": "", "operationId": "",
"responses": { "responses": {
"200": { "200": {
@ -4315,8 +4779,8 @@
"tags": [ "tags": [
"Artist" "Artist"
], ],
"summary": "Warning: no annotated method found for this route", "summary": "Edit Artist by Id",
"description": "This route is not annotated.", "description": "",
"operationId": "", "operationId": "",
"responses": { "responses": {
"200": { "200": {
@ -4333,8 +4797,8 @@
"tags": [ "tags": [
"Artist" "Artist"
], ],
"summary": "Warning: no annotated method found for this route", "summary": "Delete Artist by Id",
"description": "This route is not annotated.", "description": "",
"operationId": "", "operationId": "",
"responses": { "responses": {
"200": { "200": {
@ -4347,15 +4811,25 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of Artist",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/album/lookup": { "/api/v1/album/lookup": {
"get": { "get": {
"tags": [ "tags": [
"Album" "Album"
], ],
"summary": "Warning: no annotated method found for this route", "summary": "Search for Album not in DB",
"description": "This route is not annotated.", "description": "",
"operationId": "", "operationId": "",
"responses": { "responses": {
"200": { "200": {
@ -4425,7 +4899,17 @@
} }
] ]
}, },
"parameters": [] "parameters": [
{
"name": "id",
"in": "path",
"description": "ID of Album",
"required": true,
"schema": {
"type": "integer"
}
}
]
}, },
"/api/v1/album": { "/api/v1/album": {
"get": { "get": {

Loading…
Cancel
Save