Skip to content

Commit e0d2074

Browse files
authored
Update of Spotify's OpenAPI definition (#463)
* Automated update of Spotify's OpenAPI definition * fix: add patch for missing followers property on PlaylistObject
1 parent cbd2895 commit e0d2074

File tree

3 files changed

+16
-18
lines changed

3 files changed

+16
-18
lines changed

fixed-spotify-open-api.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5521,10 +5521,6 @@ components:
55215521
- $ref: "#/components/schemas/ExternalUrlObject"
55225522
description: |
55235523
Known external URLs for this playlist.
5524-
followers:
5525-
allOf:
5526-
- $ref: "#/components/schemas/FollowersObject"
5527-
description: Information about the followers of the playlist.
55285524
href:
55295525
type: string
55305526
description: |
@@ -5570,6 +5566,10 @@ components:
55705566
type: string
55715567
description: |
55725568
The [Spotify URI](/documentation/web-api/concepts/spotify-uris-ids) for the playlist.
5569+
followers:
5570+
allOf:
5571+
- $ref: "#/components/schemas/FollowersObject"
5572+
description: Information about the followers of the playlist.
55735573
SimplifiedPlaylistObject:
55745574
type: object
55755575
x-spotify-docs-type: SimplifiedPlaylistObject
@@ -5652,11 +5652,6 @@ components:
56525652
- $ref: "#/components/schemas/ExternalUrlObject"
56535653
description: |
56545654
Known public external URLs for this user.
5655-
followers:
5656-
allOf:
5657-
- $ref: "#/components/schemas/FollowersObject"
5658-
description: |
5659-
Information about the followers of this user.
56605655
href:
56615656
type: string
56625657
description: |

official-spotify-open-api.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5587,10 +5587,6 @@ components:
55875587
- $ref: '#/components/schemas/ExternalUrlObject'
55885588
description: |
55895589
Known external URLs for this playlist.
5590-
followers:
5591-
allOf:
5592-
- $ref: '#/components/schemas/FollowersObject'
5593-
description: Information about the followers of the playlist.
55945590
href:
55955591
type: string
55965592
description: |
@@ -5721,11 +5717,6 @@ components:
57215717
- $ref: '#/components/schemas/ExternalUrlObject'
57225718
description: |
57235719
Known public external URLs for this user.
5724-
followers:
5725-
allOf:
5726-
- $ref: '#/components/schemas/FollowersObject'
5727-
description: |
5728-
Information about the followers of this user.
57295720
href:
57305721
type: string
57315722
description: |
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
description: add missing followers property to PlaylistObject
2+
operations:
3+
- op: test
4+
path: "$.components.schemas.PlaylistObject.properties.followers"
5+
value: null
6+
- op: put
7+
path: "$.components.schemas.PlaylistObject.properties"
8+
key: followers
9+
value:
10+
allOf:
11+
- $ref: "#/components/schemas/FollowersObject"
12+
description: Information about the followers of the playlist.

0 commit comments

Comments
 (0)