Skip to content

Commit e4b1f02

Browse files
committed
Fix type of artists property of AlbumObject to SimplifiedArtistsObject
1 parent 9204b88 commit e4b1f02

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

fixed-spotify-open-api.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6175,7 +6175,7 @@ components:
61756175
artists:
61766176
type: array
61776177
items:
6178-
$ref: '#/components/schemas/ArtistObject'
6178+
$ref: '#/components/schemas/SimplifiedArtistObject'
61796179
description: |
61806180
The artists of the album. Each artist object includes a link in `href` to more detailed information about the artist.
61816181
tracks:
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
description: Fix type of artists property to SimplifiedArtistObject
2+
operations:
3+
- op: test
4+
path: "$.components.schemas.AlbumObject.allOf[1].properties.artists.items.$ref"
5+
value: '#/components/schemas/ArtistObject'
6+
- op: set
7+
path: "$.components.schemas.AlbumObject.allOf[1].properties.artists.items.$ref"
8+
value: '#/components/schemas/SimplifiedArtistObject'

0 commit comments

Comments
 (0)