File tree Expand file tree Collapse file tree 4 files changed +57
-1
lines changed
spotify-web-api-open-api/src/main/resources/patches Expand file tree Collapse file tree 4 files changed +57
-1
lines changed Original file line number Diff line number Diff line change @@ -513,7 +513,7 @@ paths:
513513 - $ref : ' #/components/parameters/QueryOffset'
514514 responses :
515515 " 200 " :
516- $ref : ' #/components/responses/PagingSimplifiedAudiobookObject '
516+ $ref : ' #/components/responses/PagingSavedAudiobookObject '
517517 " 401 " :
518518 $ref : ' #/components/responses/Unauthorized'
519519 " 403 " :
@@ -4354,6 +4354,12 @@ components:
43544354 application/json :
43554355 schema :
43564356 $ref : ' #/components/schemas/PagingArtistObject'
4357+ PagingSavedAudiobookObject :
4358+ description : Pages of saved audiobooks
4359+ content :
4360+ application/json :
4361+ schema :
4362+ $ref : ' #/components/schemas/PagingSavedAudiobookObject'
43574363 PagingTrackObject :
43584364 description : Pages of tracks
43594365 content :
@@ -7119,6 +7125,16 @@ components:
71197125 allOf :
71207126 - $ref : ' #/components/schemas/AudiobookObject'
71217127 description : Information about the audiobook.
7128+ PagingSavedAudiobookObject :
7129+ type : object
7130+ allOf :
7131+ - $ref : ' #/components/schemas/PagingObject'
7132+ - type : object
7133+ properties :
7134+ items :
7135+ type : array
7136+ items :
7137+ $ref : ' #/components/schemas/SavedAudiobookObject'
71227138 parameters :
71237139 PathAlbumId :
71247140 in : path
Original file line number Diff line number Diff line change 1+ description : Fix response type to SavedAudiobook
2+ operations :
3+ - op : test
4+ path : " $.paths./me/audiobooks.get.responses.200.$ref"
5+ value : " #/components/responses/PagingSimplifiedAudiobookObject"
6+ - op : set
7+ path : " $.paths./me/audiobooks.get.responses.200.$ref"
8+ value : " #/components/responses/PagingSavedAudiobookObject"
Original file line number Diff line number Diff line change 1+ description : Add missing PagingSavedAudiobookObject
2+ operations :
3+ - op : test
4+ path : " $.components.responses.PagingSavedAudiobookObject"
5+ value : null
6+ - op : put
7+ path : " $.components.responses"
8+ key : PagingSavedAudiobookObject
9+ value :
10+ description : Pages of saved audiobooks
11+ content :
12+ application/json :
13+ schema :
14+ $ref : ' #/components/schemas/PagingSavedAudiobookObject'
Original file line number Diff line number Diff line change 1+ description : Add missing PagingSavedAudiobookObject
2+ operations :
3+ - op : test
4+ path : " $.components.schemas.PagingSavedAudiobookObject"
5+ value : null
6+ - op : put
7+ path : " $.components.schemas"
8+ key : PagingSavedAudiobookObject
9+ value :
10+ type : object
11+ allOf :
12+ - $ref : ' #/components/schemas/PagingObject'
13+ - type : object
14+ properties :
15+ items :
16+ type : array
17+ items :
18+ $ref : ' #/components/schemas/SavedAudiobookObject'
You can’t perform that action at this time.
0 commit comments