@@ -23,8 +23,8 @@ public protocol APIProtocol: Sendable {
23
23
/// Lists any assignment repositories that have been created by students accepting a GitHub Classroom assignment. Accepted assignments will only be returned if the current user is an administrator of the GitHub Classroom for the assignment.
24
24
///
25
25
/// - Remark: HTTP `GET /assignments/{assignment_id}/accepted_assignments`.
26
- /// - Remark: Generated from `#/paths//assignments/{assignment_id}/accepted_assignments/get(classroom/list-accepted-assigments -for-an-assignment)`.
27
- func classroom_sol_list_hyphen_accepted_hyphen_assigments_hyphen_for_hyphen_an_hyphen_assignment ( _ input: Operations . classroom_sol_list_hyphen_accepted_hyphen_assigments_hyphen_for_hyphen_an_hyphen_assignment . Input ) async throws -> Operations . classroom_sol_list_hyphen_accepted_hyphen_assigments_hyphen_for_hyphen_an_hyphen_assignment . Output
26
+ /// - Remark: Generated from `#/paths//assignments/{assignment_id}/accepted_assignments/get(classroom/list-accepted-assignments -for-an-assignment)`.
27
+ func classroom_sol_list_hyphen_accepted_hyphen_assignments_hyphen_for_hyphen_an_hyphen_assignment ( _ input: Operations . classroom_sol_list_hyphen_accepted_hyphen_assignments_hyphen_for_hyphen_an_hyphen_assignment . Input ) async throws -> Operations . classroom_sol_list_hyphen_accepted_hyphen_assignments_hyphen_for_hyphen_an_hyphen_assignment . Output
28
28
/// Get assignment grades
29
29
///
30
30
/// Gets grades for a GitHub Classroom assignment. Grades will only be returned if the current user is an administrator of the GitHub Classroom for the assignment.
@@ -77,13 +77,13 @@ extension APIProtocol {
77
77
/// Lists any assignment repositories that have been created by students accepting a GitHub Classroom assignment. Accepted assignments will only be returned if the current user is an administrator of the GitHub Classroom for the assignment.
78
78
///
79
79
/// - Remark: HTTP `GET /assignments/{assignment_id}/accepted_assignments`.
80
- /// - Remark: Generated from `#/paths//assignments/{assignment_id}/accepted_assignments/get(classroom/list-accepted-assigments -for-an-assignment)`.
81
- public func classroom_sol_list_hyphen_accepted_hyphen_assigments_hyphen_for_hyphen_an_hyphen_assignment (
82
- path: Operations . classroom_sol_list_hyphen_accepted_hyphen_assigments_hyphen_for_hyphen_an_hyphen_assignment . Input . Path ,
83
- query: Operations . classroom_sol_list_hyphen_accepted_hyphen_assigments_hyphen_for_hyphen_an_hyphen_assignment . Input . Query = . init( ) ,
84
- headers: Operations . classroom_sol_list_hyphen_accepted_hyphen_assigments_hyphen_for_hyphen_an_hyphen_assignment . Input . Headers = . init( )
85
- ) async throws -> Operations . classroom_sol_list_hyphen_accepted_hyphen_assigments_hyphen_for_hyphen_an_hyphen_assignment . Output {
86
- try await classroom_sol_list_hyphen_accepted_hyphen_assigments_hyphen_for_hyphen_an_hyphen_assignment ( Operations . classroom_sol_list_hyphen_accepted_hyphen_assigments_hyphen_for_hyphen_an_hyphen_assignment . Input (
80
+ /// - Remark: Generated from `#/paths//assignments/{assignment_id}/accepted_assignments/get(classroom/list-accepted-assignments -for-an-assignment)`.
81
+ public func classroom_sol_list_hyphen_accepted_hyphen_assignments_hyphen_for_hyphen_an_hyphen_assignment (
82
+ path: Operations . classroom_sol_list_hyphen_accepted_hyphen_assignments_hyphen_for_hyphen_an_hyphen_assignment . Input . Path ,
83
+ query: Operations . classroom_sol_list_hyphen_accepted_hyphen_assignments_hyphen_for_hyphen_an_hyphen_assignment . Input . Query = . init( ) ,
84
+ headers: Operations . classroom_sol_list_hyphen_accepted_hyphen_assignments_hyphen_for_hyphen_an_hyphen_assignment . Input . Headers = . init( )
85
+ ) async throws -> Operations . classroom_sol_list_hyphen_accepted_hyphen_assignments_hyphen_for_hyphen_an_hyphen_assignment . Output {
86
+ try await classroom_sol_list_hyphen_accepted_hyphen_assignments_hyphen_for_hyphen_an_hyphen_assignment ( Operations . classroom_sol_list_hyphen_accepted_hyphen_assignments_hyphen_for_hyphen_an_hyphen_assignment . Input (
87
87
path: path,
88
88
query: query,
89
89
headers: headers
@@ -1168,9 +1168,9 @@ public enum Operations {
1168
1168
/// Lists any assignment repositories that have been created by students accepting a GitHub Classroom assignment. Accepted assignments will only be returned if the current user is an administrator of the GitHub Classroom for the assignment.
1169
1169
///
1170
1170
/// - Remark: HTTP `GET /assignments/{assignment_id}/accepted_assignments`.
1171
- /// - Remark: Generated from `#/paths//assignments/{assignment_id}/accepted_assignments/get(classroom/list-accepted-assigments -for-an-assignment)`.
1172
- public enum classroom_sol_list_hyphen_accepted_hyphen_assigments_hyphen_for_hyphen_an_hyphen_assignment {
1173
- public static let id : Swift . String = " classroom/list-accepted-assigments -for-an-assignment "
1171
+ /// - Remark: Generated from `#/paths//assignments/{assignment_id}/accepted_assignments/get(classroom/list-accepted-assignments -for-an-assignment)`.
1172
+ public enum classroom_sol_list_hyphen_accepted_hyphen_assignments_hyphen_for_hyphen_an_hyphen_assignment {
1173
+ public static let id : Swift . String = " classroom/list-accepted-assignments -for-an-assignment "
1174
1174
public struct Input : Sendable , Hashable {
1175
1175
/// - Remark: Generated from `#/paths/assignments/{assignment_id}/accepted_assignments/GET/path`.
1176
1176
public struct Path : Sendable , Hashable {
@@ -1186,7 +1186,7 @@ public enum Operations {
1186
1186
self . assignment_id = assignment_id
1187
1187
}
1188
1188
}
1189
- public var path : Operations . classroom_sol_list_hyphen_accepted_hyphen_assigments_hyphen_for_hyphen_an_hyphen_assignment . Input . Path
1189
+ public var path : Operations . classroom_sol_list_hyphen_accepted_hyphen_assignments_hyphen_for_hyphen_an_hyphen_assignment . Input . Path
1190
1190
/// - Remark: Generated from `#/paths/assignments/{assignment_id}/accepted_assignments/GET/query`.
1191
1191
public struct Query : Sendable , Hashable {
1192
1192
/// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
@@ -1210,29 +1210,29 @@ public enum Operations {
1210
1210
self . per_page = per_page
1211
1211
}
1212
1212
}
1213
- public var query : Operations . classroom_sol_list_hyphen_accepted_hyphen_assigments_hyphen_for_hyphen_an_hyphen_assignment . Input . Query
1213
+ public var query : Operations . classroom_sol_list_hyphen_accepted_hyphen_assignments_hyphen_for_hyphen_an_hyphen_assignment . Input . Query
1214
1214
/// - Remark: Generated from `#/paths/assignments/{assignment_id}/accepted_assignments/GET/header`.
1215
1215
public struct Headers : Sendable , Hashable {
1216
- public var accept : [ OpenAPIRuntime . AcceptHeaderContentType < Operations . classroom_sol_list_hyphen_accepted_hyphen_assigments_hyphen_for_hyphen_an_hyphen_assignment . AcceptableContentType > ]
1216
+ public var accept : [ OpenAPIRuntime . AcceptHeaderContentType < Operations . classroom_sol_list_hyphen_accepted_hyphen_assignments_hyphen_for_hyphen_an_hyphen_assignment . AcceptableContentType > ]
1217
1217
/// Creates a new `Headers`.
1218
1218
///
1219
1219
/// - Parameters:
1220
1220
/// - accept:
1221
- public init ( accept: [ OpenAPIRuntime . AcceptHeaderContentType < Operations . classroom_sol_list_hyphen_accepted_hyphen_assigments_hyphen_for_hyphen_an_hyphen_assignment . AcceptableContentType > ] = . defaultValues( ) ) {
1221
+ public init ( accept: [ OpenAPIRuntime . AcceptHeaderContentType < Operations . classroom_sol_list_hyphen_accepted_hyphen_assignments_hyphen_for_hyphen_an_hyphen_assignment . AcceptableContentType > ] = . defaultValues( ) ) {
1222
1222
self . accept = accept
1223
1223
}
1224
1224
}
1225
- public var headers : Operations . classroom_sol_list_hyphen_accepted_hyphen_assigments_hyphen_for_hyphen_an_hyphen_assignment . Input . Headers
1225
+ public var headers : Operations . classroom_sol_list_hyphen_accepted_hyphen_assignments_hyphen_for_hyphen_an_hyphen_assignment . Input . Headers
1226
1226
/// Creates a new `Input`.
1227
1227
///
1228
1228
/// - Parameters:
1229
1229
/// - path:
1230
1230
/// - query:
1231
1231
/// - headers:
1232
1232
public init (
1233
- path: Operations . classroom_sol_list_hyphen_accepted_hyphen_assigments_hyphen_for_hyphen_an_hyphen_assignment . Input . Path ,
1234
- query: Operations . classroom_sol_list_hyphen_accepted_hyphen_assigments_hyphen_for_hyphen_an_hyphen_assignment . Input . Query = . init( ) ,
1235
- headers: Operations . classroom_sol_list_hyphen_accepted_hyphen_assigments_hyphen_for_hyphen_an_hyphen_assignment . Input . Headers = . init( )
1233
+ path: Operations . classroom_sol_list_hyphen_accepted_hyphen_assignments_hyphen_for_hyphen_an_hyphen_assignment . Input . Path ,
1234
+ query: Operations . classroom_sol_list_hyphen_accepted_hyphen_assignments_hyphen_for_hyphen_an_hyphen_assignment . Input . Query = . init( ) ,
1235
+ headers: Operations . classroom_sol_list_hyphen_accepted_hyphen_assignments_hyphen_for_hyphen_an_hyphen_assignment . Input . Headers = . init( )
1236
1236
) {
1237
1237
self . path = path
1238
1238
self . query = query
@@ -1259,26 +1259,26 @@ public enum Operations {
1259
1259
}
1260
1260
}
1261
1261
/// Received HTTP response body
1262
- public var body : Operations . classroom_sol_list_hyphen_accepted_hyphen_assigments_hyphen_for_hyphen_an_hyphen_assignment . Output . Ok . Body
1262
+ public var body : Operations . classroom_sol_list_hyphen_accepted_hyphen_assignments_hyphen_for_hyphen_an_hyphen_assignment . Output . Ok . Body
1263
1263
/// Creates a new `Ok`.
1264
1264
///
1265
1265
/// - Parameters:
1266
1266
/// - body: Received HTTP response body
1267
- public init ( body: Operations . classroom_sol_list_hyphen_accepted_hyphen_assigments_hyphen_for_hyphen_an_hyphen_assignment . Output . Ok . Body ) {
1267
+ public init ( body: Operations . classroom_sol_list_hyphen_accepted_hyphen_assignments_hyphen_for_hyphen_an_hyphen_assignment . Output . Ok . Body ) {
1268
1268
self . body = body
1269
1269
}
1270
1270
}
1271
1271
/// Response
1272
1272
///
1273
- /// - Remark: Generated from `#/paths//assignments/{assignment_id}/accepted_assignments/get(classroom/list-accepted-assigments -for-an-assignment)/responses/200`.
1273
+ /// - Remark: Generated from `#/paths//assignments/{assignment_id}/accepted_assignments/get(classroom/list-accepted-assignments -for-an-assignment)/responses/200`.
1274
1274
///
1275
1275
/// HTTP response code: `200 ok`.
1276
- case ok( Operations . classroom_sol_list_hyphen_accepted_hyphen_assigments_hyphen_for_hyphen_an_hyphen_assignment . Output . Ok )
1276
+ case ok( Operations . classroom_sol_list_hyphen_accepted_hyphen_assignments_hyphen_for_hyphen_an_hyphen_assignment . Output . Ok )
1277
1277
/// The associated value of the enum case if `self` is `.ok`.
1278
1278
///
1279
1279
/// - Throws: An error if `self` is not `.ok`.
1280
1280
/// - SeeAlso: `.ok`.
1281
- public var ok : Operations . classroom_sol_list_hyphen_accepted_hyphen_assigments_hyphen_for_hyphen_an_hyphen_assignment . Output . Ok {
1281
+ public var ok : Operations . classroom_sol_list_hyphen_accepted_hyphen_assignments_hyphen_for_hyphen_an_hyphen_assignment . Output . Ok {
1282
1282
get throws {
1283
1283
switch self {
1284
1284
case let . ok( response) :
0 commit comments