@@ -29,9 +29,6 @@ const routes = {
29
29
path : `/api/${ API_VERSION } /previous` ,
30
30
summary : 'play previous song' ,
31
31
description : 'Plays the previous song in the queue' ,
32
- request : {
33
- headers : AuthHeadersSchema ,
34
- } ,
35
32
responses : {
36
33
204 : {
37
34
description : 'Success' ,
@@ -43,9 +40,6 @@ const routes = {
43
40
path : `/api/${ API_VERSION } /next` ,
44
41
summary : 'play next song' ,
45
42
description : 'Plays the next song in the queue' ,
46
- request : {
47
- headers : AuthHeadersSchema ,
48
- } ,
49
43
responses : {
50
44
204 : {
51
45
description : 'Success' ,
@@ -57,9 +51,6 @@ const routes = {
57
51
path : `/api/${ API_VERSION } /play` ,
58
52
summary : 'Play' ,
59
53
description : 'Change the state of the player to play' ,
60
- request : {
61
- headers : AuthHeadersSchema ,
62
- } ,
63
54
responses : {
64
55
204 : {
65
56
description : 'Success' ,
@@ -71,9 +62,6 @@ const routes = {
71
62
path : `/api/${ API_VERSION } /pause` ,
72
63
summary : 'Pause' ,
73
64
description : 'Change the state of the player to pause' ,
74
- request : {
75
- headers : AuthHeadersSchema ,
76
- } ,
77
65
responses : {
78
66
204 : {
79
67
description : 'Success' ,
@@ -86,9 +74,6 @@ const routes = {
86
74
summary : 'Toggle play/pause' ,
87
75
description :
88
76
'Change the state of the player to play if paused, or pause if playing' ,
89
- request : {
90
- headers : AuthHeadersSchema ,
91
- } ,
92
77
responses : {
93
78
204 : {
94
79
description : 'Success' ,
@@ -100,9 +85,6 @@ const routes = {
100
85
path : `/api/${ API_VERSION } /like` ,
101
86
summary : 'like song' ,
102
87
description : 'Set the current song as liked' ,
103
- request : {
104
- headers : AuthHeadersSchema ,
105
- } ,
106
88
responses : {
107
89
204 : {
108
90
description : 'Success' ,
@@ -114,9 +96,6 @@ const routes = {
114
96
path : `/api/${ API_VERSION } /dislike` ,
115
97
summary : 'dislike song' ,
116
98
description : 'Set the current song as disliked' ,
117
- request : {
118
- headers : AuthHeadersSchema ,
119
- } ,
120
99
responses : {
121
100
204 : {
122
101
description : 'Success' ,
@@ -175,9 +154,6 @@ const routes = {
175
154
path : `/api/${ API_VERSION } /shuffle` ,
176
155
summary : 'shuffle' ,
177
156
description : 'Shuffle the queue' ,
178
- request : {
179
- headers : AuthHeadersSchema ,
180
- } ,
181
157
responses : {
182
158
204 : {
183
159
description : 'Success' ,
@@ -255,9 +231,6 @@ const routes = {
255
231
path : `/api/${ API_VERSION } /toggle-mute` ,
256
232
summary : 'toggle mute' ,
257
233
description : 'Toggle the mute state of the player' ,
258
- request : {
259
- headers : AuthHeadersSchema ,
260
- } ,
261
234
responses : {
262
235
204 : {
263
236
description : 'Success' ,
@@ -270,9 +243,6 @@ const routes = {
270
243
path : `/api/${ API_VERSION } /fullscreen` ,
271
244
summary : 'get fullscreen state' ,
272
245
description : 'Get the current fullscreen state' ,
273
- request : {
274
- headers : AuthHeadersSchema ,
275
- } ,
276
246
responses : {
277
247
200 : {
278
248
description : 'Success' ,
@@ -291,9 +261,6 @@ const routes = {
291
261
path : `/api/${ API_VERSION } /queue-info` ,
292
262
summary : 'get current queue info' ,
293
263
description : 'Get the current queue info' ,
294
- request : {
295
- headers : AuthHeadersSchema ,
296
- } ,
297
264
responses : {
298
265
200 : {
299
266
description : 'Success' ,
@@ -313,9 +280,6 @@ const routes = {
313
280
path : `/api/${ API_VERSION } /song-info` ,
314
281
summary : 'get current song info' ,
315
282
description : 'Get the current song info' ,
316
- request : {
317
- headers : AuthHeadersSchema ,
318
- } ,
319
283
responses : {
320
284
200 : {
321
285
description : 'Success' ,
0 commit comments