Skip to content

Commit f7437dd

Browse files
authored
Merge pull request #31 from Wei18/dependabot/submodules/Submodule/github/rest-api-description-2365ff8
Bump Submodule/github/rest-api-description from `46be936` to `2365ff8`
2 parents d604eb2 + 4581c6e commit f7437dd

File tree

5 files changed

+366
-250
lines changed

5 files changed

+366
-250
lines changed

Sources/actions/Client.swift

+50-40
Original file line numberDiff line numberDiff line change
@@ -8805,17 +8805,18 @@ public struct Client: APIProtocol {
88058805
///
88068806
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
88078807
///
8808-
/// - Remark: HTTP `GET /repositories/{repository_id}/environments/{environment_name}/secrets`.
8809-
/// - Remark: Generated from `#/paths//repositories/{repository_id}/environments/{environment_name}/secrets/get(actions/list-environment-secrets)`.
8808+
/// - Remark: HTTP `GET /repos/{owner}/{repo}/environments/{environment_name}/secrets`.
8809+
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/environments/{environment_name}/secrets/get(actions/list-environment-secrets)`.
88108810
public func actions_sol_list_hyphen_environment_hyphen_secrets(_ input: Operations.actions_sol_list_hyphen_environment_hyphen_secrets.Input) async throws -> Operations.actions_sol_list_hyphen_environment_hyphen_secrets.Output {
88118811
try await client.send(
88128812
input: input,
88138813
forOperation: Operations.actions_sol_list_hyphen_environment_hyphen_secrets.id,
88148814
serializer: { input in
88158815
let path = try converter.renderedPath(
8816-
template: "/repositories/{}/environments/{}/secrets",
8816+
template: "/repos/{}/{}/environments/{}/secrets",
88178817
parameters: [
8818-
input.path.repository_id,
8818+
input.path.owner,
8819+
input.path.repo,
88198820
input.path.environment_name
88208821
]
88218822
)
@@ -8897,17 +8898,18 @@ public struct Client: APIProtocol {
88978898
///
88988899
/// If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
88998900
///
8900-
/// - Remark: HTTP `GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key`.
8901-
/// - Remark: Generated from `#/paths//repositories/{repository_id}/environments/{environment_name}/secrets/public-key/get(actions/get-environment-public-key)`.
8901+
/// - Remark: HTTP `GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key`.
8902+
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key/get(actions/get-environment-public-key)`.
89028903
public func actions_sol_get_hyphen_environment_hyphen_public_hyphen_key(_ input: Operations.actions_sol_get_hyphen_environment_hyphen_public_hyphen_key.Input) async throws -> Operations.actions_sol_get_hyphen_environment_hyphen_public_hyphen_key.Output {
89038904
try await client.send(
89048905
input: input,
89058906
forOperation: Operations.actions_sol_get_hyphen_environment_hyphen_public_hyphen_key.id,
89068907
serializer: { input in
89078908
let path = try converter.renderedPath(
8908-
template: "/repositories/{}/environments/{}/secrets/public-key",
8909+
template: "/repos/{}/{}/environments/{}/secrets/public-key",
89098910
parameters: [
8910-
input.path.repository_id,
8911+
input.path.owner,
8912+
input.path.repo,
89118913
input.path.environment_name
89128914
]
89138915
)
@@ -8966,17 +8968,18 @@ public struct Client: APIProtocol {
89668968
///
89678969
/// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
89688970
///
8969-
/// - Remark: HTTP `GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}`.
8970-
/// - Remark: Generated from `#/paths//repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}/get(actions/get-environment-secret)`.
8971+
/// - Remark: HTTP `GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}`.
8972+
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}/get(actions/get-environment-secret)`.
89718973
public func actions_sol_get_hyphen_environment_hyphen_secret(_ input: Operations.actions_sol_get_hyphen_environment_hyphen_secret.Input) async throws -> Operations.actions_sol_get_hyphen_environment_hyphen_secret.Output {
89728974
try await client.send(
89738975
input: input,
89748976
forOperation: Operations.actions_sol_get_hyphen_environment_hyphen_secret.id,
89758977
serializer: { input in
89768978
let path = try converter.renderedPath(
8977-
template: "/repositories/{}/environments/{}/secrets/{}",
8979+
template: "/repos/{}/{}/environments/{}/secrets/{}",
89788980
parameters: [
8979-
input.path.repository_id,
8981+
input.path.owner,
8982+
input.path.repo,
89808983
input.path.environment_name,
89818984
input.path.secret_name
89828985
]
@@ -9037,17 +9040,18 @@ public struct Client: APIProtocol {
90379040
///
90389041
/// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
90399042
///
9040-
/// - Remark: HTTP `PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}`.
9041-
/// - Remark: Generated from `#/paths//repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}/put(actions/create-or-update-environment-secret)`.
9043+
/// - Remark: HTTP `PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}`.
9044+
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}/put(actions/create-or-update-environment-secret)`.
90429045
public func actions_sol_create_hyphen_or_hyphen_update_hyphen_environment_hyphen_secret(_ input: Operations.actions_sol_create_hyphen_or_hyphen_update_hyphen_environment_hyphen_secret.Input) async throws -> Operations.actions_sol_create_hyphen_or_hyphen_update_hyphen_environment_hyphen_secret.Output {
90439046
try await client.send(
90449047
input: input,
90459048
forOperation: Operations.actions_sol_create_hyphen_or_hyphen_update_hyphen_environment_hyphen_secret.id,
90469049
serializer: { input in
90479050
let path = try converter.renderedPath(
9048-
template: "/repositories/{}/environments/{}/secrets/{}",
9051+
template: "/repos/{}/{}/environments/{}/secrets/{}",
90499052
parameters: [
9050-
input.path.repository_id,
9053+
input.path.owner,
9054+
input.path.repo,
90519055
input.path.environment_name,
90529056
input.path.secret_name
90539057
]
@@ -9118,17 +9122,18 @@ public struct Client: APIProtocol {
91189122
///
91199123
/// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
91209124
///
9121-
/// - Remark: HTTP `DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}`.
9122-
/// - Remark: Generated from `#/paths//repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}/delete(actions/delete-environment-secret)`.
9125+
/// - Remark: HTTP `DELETE /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}`.
9126+
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}/delete(actions/delete-environment-secret)`.
91239127
public func actions_sol_delete_hyphen_environment_hyphen_secret(_ input: Operations.actions_sol_delete_hyphen_environment_hyphen_secret.Input) async throws -> Operations.actions_sol_delete_hyphen_environment_hyphen_secret.Output {
91249128
try await client.send(
91259129
input: input,
91269130
forOperation: Operations.actions_sol_delete_hyphen_environment_hyphen_secret.id,
91279131
serializer: { input in
91289132
let path = try converter.renderedPath(
9129-
template: "/repositories/{}/environments/{}/secrets/{}",
9133+
template: "/repos/{}/{}/environments/{}/secrets/{}",
91309134
parameters: [
9131-
input.path.repository_id,
9135+
input.path.owner,
9136+
input.path.repo,
91329137
input.path.environment_name,
91339138
input.path.secret_name
91349139
]
@@ -9164,17 +9169,18 @@ public struct Client: APIProtocol {
91649169
///
91659170
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
91669171
///
9167-
/// - Remark: HTTP `GET /repositories/{repository_id}/environments/{environment_name}/variables`.
9168-
/// - Remark: Generated from `#/paths//repositories/{repository_id}/environments/{environment_name}/variables/get(actions/list-environment-variables)`.
9172+
/// - Remark: HTTP `GET /repos/{owner}/{repo}/environments/{environment_name}/variables`.
9173+
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/environments/{environment_name}/variables/get(actions/list-environment-variables)`.
91699174
public func actions_sol_list_hyphen_environment_hyphen_variables(_ input: Operations.actions_sol_list_hyphen_environment_hyphen_variables.Input) async throws -> Operations.actions_sol_list_hyphen_environment_hyphen_variables.Output {
91709175
try await client.send(
91719176
input: input,
91729177
forOperation: Operations.actions_sol_list_hyphen_environment_hyphen_variables.id,
91739178
serializer: { input in
91749179
let path = try converter.renderedPath(
9175-
template: "/repositories/{}/environments/{}/variables",
9180+
template: "/repos/{}/{}/environments/{}/variables",
91769181
parameters: [
9177-
input.path.repository_id,
9182+
input.path.owner,
9183+
input.path.repo,
91789184
input.path.environment_name
91799185
]
91809186
)
@@ -9255,17 +9261,18 @@ public struct Client: APIProtocol {
92559261
///
92569262
/// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
92579263
///
9258-
/// - Remark: HTTP `POST /repositories/{repository_id}/environments/{environment_name}/variables`.
9259-
/// - Remark: Generated from `#/paths//repositories/{repository_id}/environments/{environment_name}/variables/post(actions/create-environment-variable)`.
9264+
/// - Remark: HTTP `POST /repos/{owner}/{repo}/environments/{environment_name}/variables`.
9265+
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/environments/{environment_name}/variables/post(actions/create-environment-variable)`.
92609266
public func actions_sol_create_hyphen_environment_hyphen_variable(_ input: Operations.actions_sol_create_hyphen_environment_hyphen_variable.Input) async throws -> Operations.actions_sol_create_hyphen_environment_hyphen_variable.Output {
92619267
try await client.send(
92629268
input: input,
92639269
forOperation: Operations.actions_sol_create_hyphen_environment_hyphen_variable.id,
92649270
serializer: { input in
92659271
let path = try converter.renderedPath(
9266-
template: "/repositories/{}/environments/{}/variables",
9272+
template: "/repos/{}/{}/environments/{}/variables",
92679273
parameters: [
9268-
input.path.repository_id,
9274+
input.path.owner,
9275+
input.path.repo,
92699276
input.path.environment_name
92709277
]
92719278
)
@@ -9333,17 +9340,18 @@ public struct Client: APIProtocol {
93339340
///
93349341
/// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
93359342
///
9336-
/// - Remark: HTTP `GET /repositories/{repository_id}/environments/{environment_name}/variables/{name}`.
9337-
/// - Remark: Generated from `#/paths//repositories/{repository_id}/environments/{environment_name}/variables/{name}/get(actions/get-environment-variable)`.
9343+
/// - Remark: HTTP `GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}`.
9344+
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/environments/{environment_name}/variables/{name}/get(actions/get-environment-variable)`.
93389345
public func actions_sol_get_hyphen_environment_hyphen_variable(_ input: Operations.actions_sol_get_hyphen_environment_hyphen_variable.Input) async throws -> Operations.actions_sol_get_hyphen_environment_hyphen_variable.Output {
93399346
try await client.send(
93409347
input: input,
93419348
forOperation: Operations.actions_sol_get_hyphen_environment_hyphen_variable.id,
93429349
serializer: { input in
93439350
let path = try converter.renderedPath(
9344-
template: "/repositories/{}/environments/{}/variables/{}",
9351+
template: "/repos/{}/{}/environments/{}/variables/{}",
93459352
parameters: [
9346-
input.path.repository_id,
9353+
input.path.owner,
9354+
input.path.repo,
93479355
input.path.environment_name,
93489356
input.path.name
93499357
]
@@ -9403,17 +9411,18 @@ public struct Client: APIProtocol {
94039411
///
94049412
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
94059413
///
9406-
/// - Remark: HTTP `PATCH /repositories/{repository_id}/environments/{environment_name}/variables/{name}`.
9407-
/// - Remark: Generated from `#/paths//repositories/{repository_id}/environments/{environment_name}/variables/{name}/patch(actions/update-environment-variable)`.
9414+
/// - Remark: HTTP `PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}`.
9415+
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/environments/{environment_name}/variables/{name}/patch(actions/update-environment-variable)`.
94089416
public func actions_sol_update_hyphen_environment_hyphen_variable(_ input: Operations.actions_sol_update_hyphen_environment_hyphen_variable.Input) async throws -> Operations.actions_sol_update_hyphen_environment_hyphen_variable.Output {
94099417
try await client.send(
94109418
input: input,
94119419
forOperation: Operations.actions_sol_update_hyphen_environment_hyphen_variable.id,
94129420
serializer: { input in
94139421
let path = try converter.renderedPath(
9414-
template: "/repositories/{}/environments/{}/variables/{}",
9422+
template: "/repos/{}/{}/environments/{}/variables/{}",
94159423
parameters: [
9416-
input.path.repository_id,
9424+
input.path.owner,
9425+
input.path.repo,
94179426
input.path.environment_name,
94189427
input.path.name
94199428
]
@@ -9458,17 +9467,18 @@ public struct Client: APIProtocol {
94589467
///
94599468
/// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
94609469
///
9461-
/// - Remark: HTTP `DELETE /repositories/{repository_id}/environments/{environment_name}/variables/{name}`.
9462-
/// - Remark: Generated from `#/paths//repositories/{repository_id}/environments/{environment_name}/variables/{name}/delete(actions/delete-environment-variable)`.
9470+
/// - Remark: HTTP `DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}`.
9471+
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/environments/{environment_name}/variables/{name}/delete(actions/delete-environment-variable)`.
94639472
public func actions_sol_delete_hyphen_environment_hyphen_variable(_ input: Operations.actions_sol_delete_hyphen_environment_hyphen_variable.Input) async throws -> Operations.actions_sol_delete_hyphen_environment_hyphen_variable.Output {
94649473
try await client.send(
94659474
input: input,
94669475
forOperation: Operations.actions_sol_delete_hyphen_environment_hyphen_variable.id,
94679476
serializer: { input in
94689477
let path = try converter.renderedPath(
9469-
template: "/repositories/{}/environments/{}/variables/{}",
9478+
template: "/repos/{}/{}/environments/{}/variables/{}",
94709479
parameters: [
9471-
input.path.repository_id,
9480+
input.path.owner,
9481+
input.path.repo,
94729482
input.path.environment_name,
94739483
input.path.name
94749484
]

0 commit comments

Comments
 (0)