Skip to content

Commit ff67f9b

Browse files
authored
Update official Open API (#225)
* Add new official-spotify-open-api.yml I have manually removed the new spotify-policy stuff * Updated patches * Update official-spotify-open-api.yml * Fix users top artists and tracks endpoint
1 parent 6e829c7 commit ff67f9b

File tree

58 files changed

+1940
-2422
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+1940
-2422
lines changed

fixed-spotify-open-api.yml

Lines changed: 453 additions & 379 deletions
Large diffs are not rendered by default.

official-spotify-open-api.yml

Lines changed: 1439 additions & 1276 deletions
Large diffs are not rendered by default.

spotify-web-api-open-api/src/main/resources/patches/path-get-a-list-of-current-users-playlists.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

spotify-web-api-open-api/src/main/resources/patches/path-get-a-shows-episodes.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

spotify-web-api-open-api/src/main/resources/patches/path-get-an-albums-tracks.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

spotify-web-api-open-api/src/main/resources/patches/path-get-an-artists-albums.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

spotify-web-api-open-api/src/main/resources/patches/path-get-audiobook-chapters.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

spotify-web-api-open-api/src/main/resources/patches/path-get-featured-playlists.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

spotify-web-api-open-api/src/main/resources/patches/path-get-list-users-playlists.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

spotify-web-api-open-api/src/main/resources/patches/path-get-playlists-tracks.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
description: update response type to PlaylistTracksPagingObject and fix maximum of limit parameter
22
operations:
3-
- op: test
4-
path: "$.paths./playlists/{playlist_id}/tracks.get.responses.200.$ref"
5-
value: '#/components/responses/PagingObject'
6-
- op: set
7-
path: "$.paths./playlists/{playlist_id}/tracks.get.responses.200.$ref"
8-
value: '#/components/responses/PlaylistTracksPagingObject'
93
- op: test
104
path: "$.paths./playlists/{playlist_id}/tracks.get.parameters[?(@.$ref=='#/components/parameters/QueryLimit')]"
115
value:

0 commit comments

Comments
 (0)