You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/stats/code_frequency/get(repos/get-code-frequency-stats)`.
16184
16189
public func repos_sol_get_hyphen_code_hyphen_frequency_hyphen_stats(_ input: Operations.repos_sol_get_hyphen_code_hyphen_frequency_hyphen_stats.Input) async throws -> Operations.repos_sol_get_hyphen_code_hyphen_frequency_hyphen_stats.Output {
@@ -16252,6 +16257,8 @@ public struct Client: APIProtocol {
16252
16257
return .accepted(.init(body: body))
16253
16258
case 204:
16254
16259
return .noContent(.init())
16260
+
case 422:
16261
+
return .unprocessableContent(.init())
16255
16262
default:
16256
16263
return .undocumented(
16257
16264
statusCode: response.status.code,
@@ -16358,11 +16365,13 @@ public struct Client: APIProtocol {
16358
16365
///
16359
16366
/// Returns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:
16360
16367
///
16361
-
/// * `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).
16368
+
/// * `w` - Start of the week, given as a [Unix timestamp](https://en.wikipedia.org/wiki/Unix_time).
16362
16369
/// * `a` - Number of additions
16363
16370
/// * `d` - Number of deletions
16364
16371
/// * `c` - Number of commits
16365
16372
///
16373
+
/// **Note:** This endpoint will return `0` values for all addition and deletion counts in repositories with 10,000 or more commits.
@@ -1657,11 +1662,13 @@ public protocol APIProtocol: Sendable {
1657
1662
///
1658
1663
/// Returns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:
1659
1664
///
1660
-
/// * `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).
1665
+
/// * `w` - Start of the week, given as a [Unix timestamp](https://en.wikipedia.org/wiki/Unix_time).
1661
1666
/// * `a` - Number of additions
1662
1667
/// * `d` - Number of deletions
1663
1668
/// * `c` - Number of commits
1664
1669
///
1670
+
/// **Note:** This endpoint will return `0` values for all addition and deletion counts in repositories with 10,000 or more commits.
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/stats/code_frequency/get(repos/get-code-frequency-stats)`.
4947
4959
public func repos_sol_get_hyphen_code_hyphen_frequency_hyphen_stats(
@@ -4973,11 +4985,13 @@ extension APIProtocol {
4973
4985
///
4974
4986
/// Returns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:
4975
4987
///
4976
-
/// * `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).
4988
+
/// * `w` - Start of the week, given as a [Unix timestamp](https://en.wikipedia.org/wiki/Unix_time).
4977
4989
/// * `a` - Number of additions
4978
4990
/// * `d` - Number of deletions
4979
4991
/// * `c` - Number of commits
4980
4992
///
4993
+
/// **Note:** This endpoint will return `0` values for all addition and deletion counts in repositories with 10,000 or more commits.
case unprocessableContent(Operations.repos_sol_get_hyphen_code_hyphen_frequency_hyphen_stats.Output.UnprocessableContent)
57053
+
/// The associated value of the enum case if `self` is `.unprocessableContent`.
57054
+
///
57055
+
/// - Throws: An error if `self` is not `.unprocessableContent`.
57056
+
/// - SeeAlso: `.unprocessableContent`.
57057
+
public var unprocessableContent: Operations.repos_sol_get_hyphen_code_hyphen_frequency_hyphen_stats.Output.UnprocessableContent {
57058
+
get throws {
57059
+
switch self {
57060
+
case let .unprocessableContent(response):
57061
+
return response
57062
+
default:
57063
+
try throwUnexpectedResponseStatus(
57064
+
expectedStatus: "unprocessableContent",
57065
+
response: self
57066
+
)
57067
+
}
57068
+
}
57069
+
}
57024
57070
/// Undocumented response.
57025
57071
///
57026
57072
/// A response with a code that is not documented in the OpenAPI document.
@@ -57244,11 +57290,13 @@ public enum Operations {
57244
57290
///
57245
57291
/// Returns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:
57246
57292
///
57247
-
/// * `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).
57293
+
/// * `w` - Start of the week, given as a [Unix timestamp](https://en.wikipedia.org/wiki/Unix_time).
57248
57294
/// * `a` - Number of additions
57249
57295
/// * `d` - Number of deletions
57250
57296
/// * `c` - Number of commits
57251
57297
///
57298
+
/// **Note:** This endpoint will return `0` values for all addition and deletion counts in repositories with 10,000 or more commits.
0 commit comments