Skip to content

Commit fb78c9a

Browse files
fix: escape ampersand in OpenAPI summaries for C# XML docs
1 parent 1a3de89 commit fb78c9a

20 files changed

Lines changed: 23 additions & 23 deletions

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 110
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/xquik%2Fx-twitter-scraper-4a12c672870ee7282ad1d00f262e20fb360a8296b64a774628d1d0252e12694a.yml
3-
openapi_spec_hash: 2e298ff704f550c80c2d07d9adadba6d
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/xquik%2Fx-twitter-scraper-2adc33156b4b42a4be18cc20c0205b38f0432d7958da99c65ee9b3f6a555ea0e.yml
3+
openapi_spec_hash: be760f5620a268521d6793f65576a61f
44
config_hash: 320a9cb2f1293d1a7b73c63ab5865af5

x-twitter-scraper-java-core/src/main/kotlin/com/x_twitter_scraper/api/models/trends/TrendListParams.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import java.util.Objects
99
import java.util.Optional
1010
import kotlin.jvm.optionals.getOrNull
1111

12-
/** Get trending hashtags & topics by region (alias) */
12+
/** Get trending hashtags and topics by region (alias) */
1313
class TrendListParams
1414
private constructor(
1515
private val count: Long?,

x-twitter-scraper-java-core/src/main/kotlin/com/x_twitter_scraper/api/models/x/XGetTrendsParams.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import java.util.Objects
99
import java.util.Optional
1010
import kotlin.jvm.optionals.getOrNull
1111

12-
/** Get trending hashtags & topics from X by region */
12+
/** Get trending hashtags and topics from X by region */
1313
class XGetTrendsParams
1414
private constructor(
1515
private val count: Long?,

x-twitter-scraper-java-core/src/main/kotlin/com/x_twitter_scraper/api/models/x/communities/CommunityRetrieveInfoParams.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import java.util.Objects
99
import java.util.Optional
1010
import kotlin.jvm.optionals.getOrNull
1111

12-
/** Get community name, description & member count */
12+
/** Get community name, description and member count */
1313
class CommunityRetrieveInfoParams
1414
private constructor(
1515
private val id: String?,

x-twitter-scraper-java-core/src/main/kotlin/com/x_twitter_scraper/api/models/x/media/MediaDownloadParams.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import java.util.Objects
2121
import java.util.Optional
2222
import kotlin.jvm.optionals.getOrNull
2323

24-
/** Download images & videos from tweets */
24+
/** Download images and videos from tweets */
2525
class MediaDownloadParams
2626
private constructor(
2727
private val body: Body,

x-twitter-scraper-java-core/src/main/kotlin/com/x_twitter_scraper/api/models/x/tweets/TweetRetrieveParams.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import java.util.Objects
99
import java.util.Optional
1010
import kotlin.jvm.optionals.getOrNull
1111

12-
/** Get tweet with full text, author, metrics & media */
12+
/** Get tweet with full text, author, metrics and media */
1313
class TweetRetrieveParams
1414
private constructor(
1515
private val id: String?,

x-twitter-scraper-java-core/src/main/kotlin/com/x_twitter_scraper/api/models/x/tweets/TweetSearchParams.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import java.util.Objects
1414
import java.util.Optional
1515
import kotlin.jvm.optionals.getOrNull
1616

17-
/** Search tweets with X query operators & pagination */
17+
/** Search tweets with X query operators and pagination */
1818
class TweetSearchParams
1919
private constructor(
2020
private val q: String,

x-twitter-scraper-java-core/src/main/kotlin/com/x_twitter_scraper/api/models/x/users/UserRetrieveParams.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import java.util.Objects
99
import java.util.Optional
1010
import kotlin.jvm.optionals.getOrNull
1111

12-
/** Get user profile with follower counts & verification */
12+
/** Get user profile with follower counts and verification */
1313
class UserRetrieveParams
1414
private constructor(
1515
private val id: String?,

x-twitter-scraper-java-core/src/main/kotlin/com/x_twitter_scraper/api/services/async/TrendServiceAsync.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ interface TrendServiceAsync {
2525
*/
2626
fun withOptions(modifier: Consumer<ClientOptions.Builder>): TrendServiceAsync
2727

28-
/** Get trending hashtags & topics by region (alias) */
28+
/** Get trending hashtags and topics by region (alias) */
2929
fun list(): CompletableFuture<TrendListResponse> = list(TrendListParams.none())
3030

3131
/** @see list */

x-twitter-scraper-java-core/src/main/kotlin/com/x_twitter_scraper/api/services/async/XServiceAsync.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ interface XServiceAsync {
143143
): CompletableFuture<XGetNotificationsResponse> =
144144
getNotifications(XGetNotificationsParams.none(), requestOptions)
145145

146-
/** Get trending hashtags & topics from X by region */
146+
/** Get trending hashtags and topics from X by region */
147147
fun getTrends(): CompletableFuture<XGetTrendsResponse> = getTrends(XGetTrendsParams.none())
148148

149149
/** @see getTrends */

0 commit comments

Comments
 (0)