Skip to content

Commit fdaa94d

Browse files
algolia-botkai687millotp
committed
fix(specs): adjust style for banner descriptions (generated)
algolia/api-clients-automation#4362 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Kai Welke <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent 01f3583 commit fdaa94d

10 files changed

+12
-12
lines changed

Sources/Recommend/Models/RecommendBanner.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Foundation
66
import Core
77
#endif
88

9-
/// a search banner with image and url.
9+
/// Banner with image and link to redirect users.
1010
public struct RecommendBanner: Codable, JSONEncodable {
1111
public var image: RecommendBannerImage?
1212
public var link: RecommendBannerLink?

Sources/Recommend/Models/RecommendBannerImage.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Foundation
66
import Core
77
#endif
88

9-
/// image of a search banner.
9+
/// Image to show inside a banner.
1010
public struct RecommendBannerImage: Codable, JSONEncodable {
1111
public var urls: [RecommendBannerImageUrl]?
1212
public var title: String?

Sources/Recommend/Models/RecommendBannerImageUrl.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Foundation
66
import Core
77
#endif
88

9-
/// url for a search banner image.
9+
/// URL for an image to show inside a banner.
1010
public struct RecommendBannerImageUrl: Codable, JSONEncodable {
1111
public var url: String?
1212

Sources/Recommend/Models/RecommendBannerLink.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Foundation
66
import Core
77
#endif
88

9-
/// link for a banner defined in merchandising studio.
9+
/// Link for a banner defined in the Merchandising Studio.
1010
public struct RecommendBannerLink: Codable, JSONEncodable {
1111
public var url: String?
1212

Sources/Recommend/Models/RecommendWidgets.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import Foundation
66
import Core
77
#endif
88

9-
/// widgets returned from any rules that are applied to the current search.
9+
/// Widgets returned from any rules that are applied to the current search.
1010
public struct RecommendWidgets: Codable, JSONEncodable {
11-
/// banners defined in the merchandising studio for the given search.
11+
/// Banners defined in the Merchandising Studio for a given search.
1212
public var banners: [RecommendBanner]?
1313

1414
public init(banners: [RecommendBanner]? = nil) {

Sources/Search/Models/SearchBanner.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Foundation
66
import Core
77
#endif
88

9-
/// a search banner with image and url.
9+
/// Banner with image and link to redirect users.
1010
public struct SearchBanner: Codable, JSONEncodable {
1111
public var image: SearchBannerImage?
1212
public var link: SearchBannerLink?

Sources/Search/Models/SearchBannerImage.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Foundation
66
import Core
77
#endif
88

9-
/// image of a search banner.
9+
/// Image to show inside a banner.
1010
public struct SearchBannerImage: Codable, JSONEncodable {
1111
public var urls: [SearchBannerImageUrl]?
1212
public var title: String?

Sources/Search/Models/SearchBannerImageUrl.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Foundation
66
import Core
77
#endif
88

9-
/// url for a search banner image.
9+
/// URL for an image to show inside a banner.
1010
public struct SearchBannerImageUrl: Codable, JSONEncodable {
1111
public var url: String?
1212

Sources/Search/Models/SearchBannerLink.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Foundation
66
import Core
77
#endif
88

9-
/// link for a banner defined in merchandising studio.
9+
/// Link for a banner defined in the Merchandising Studio.
1010
public struct SearchBannerLink: Codable, JSONEncodable {
1111
public var url: String?
1212

Sources/Search/Models/SearchWidgets.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import Foundation
66
import Core
77
#endif
88

9-
/// widgets returned from any rules that are applied to the current search.
9+
/// Widgets returned from any rules that are applied to the current search.
1010
public struct SearchWidgets: Codable, JSONEncodable {
11-
/// banners defined in the merchandising studio for the given search.
11+
/// Banners defined in the Merchandising Studio for a given search.
1212
public var banners: [SearchBanner]?
1313

1414
public init(banners: [SearchBanner]? = nil) {

0 commit comments

Comments
 (0)