Skip to content

Commit f08d8f6

Browse files
committed
Fix type of artists property of Album to SimplifiedArtist
1 parent 1ba8bcb commit f08d8f6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spotify-web-api-java-generator/fixed-spotify-open-api.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ info:
88
The base URI for all Web API requests is `https://api.spotify.com/v1`.
99
1010
Need help? See our <a href="https://developer.spotify.com/documentation/web-api/guides/">Web API guides</a> for more information, or visit the <a href="https://community.spotify.com/t5/Spotify-for-Developers/bd-p/Spotify_Developer">Spotify for Developers community forum</a> to ask questions and connect with other developers.
11-
version: 2022.2.6
11+
version: 2022.3.23
1212
title: Spotify Web API with fixes and improvements from sonallux
1313
termsOfService: https://developer.spotify.com/terms/
1414
contact:
@@ -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:

spotify-web-api-java/src/main/generated/de/sonallux/spotify/api/models/Album.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class Album extends AlbumBase {
1212
/**
1313
* <p>The artists of the album. Each artist object includes a link in <code>href</code> to more detailed information about the artist.</p>
1414
*/
15-
public java.util.List<Artist> artists;
15+
public java.util.List<SimplifiedArtist> artists;
1616
/**
1717
* <p>The copyright statements of the album.</p>
1818
*/

0 commit comments

Comments
 (0)