Skip to content

Commit

Permalink
Merge pull request #140 from mkusaka/update-20240215T000248
Browse files Browse the repository at this point in the history
update 20240215T000248
  • Loading branch information
mkusaka authored Feb 17, 2024
2 parents 8d6d09a + 0d3e429 commit 5e9e715
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 4 deletions.
15 changes: 14 additions & 1 deletion client/services/InsightsService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,20 @@ export class InsightsService {
* The name of a workflow. If not passed we will scope the API call to the project.
*/
workflowName?: string;
}): CancelablePromise<any> {
}): CancelablePromise<{
/**
* A list of all the branches for a given project.
*/
branches: Array<string>;
/**
* The unique ID of the organization
*/
org_id: any;
/**
* The unique ID of the project
*/
project_id: any;
}> {
return __request(OpenAPI, {
method: "GET",
url: "/insights/{project-slug}/branches",
Expand Down
2 changes: 1 addition & 1 deletion client/services/PipelineService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export class PipelineService {
}
/**
* Continue a pipeline
* Continue a pipeline from the setup phase.
* Continue a pipeline from the setup phase. For information on using pipeline parameters with dynamic configuration, see the [Pipeline values and parameters](https://circleci.com/docs/pipeline-variables/#pipeline-parameters-and-dynamic-configuration) docs.
* @returns any A confirmation message.
* @throws ApiError
*/
Expand Down
25 changes: 23 additions & 2 deletions swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -2869,7 +2869,28 @@
"200": {
"content": {
"application/json": {
"schema": {}
"schema": {
"description": "Project branches response.",
"properties": {
"branches": {
"description": "A list of all the branches for a given project.",
"items": {
"description": "The VCS branch of a workflow's trigger.",
"example": "main",
"type": "string"
},
"type": "array"
},
"org_id": {
"description": "The unique ID of the organization"
},
"project_id": {
"description": "The unique ID of the project"
}
},
"required": ["org_id", "project_id", "branches"],
"type": "object"
}
}
},
"description": "A list of branches for a project"
Expand Down Expand Up @@ -5578,7 +5599,7 @@
},
"/pipeline/continue": {
"post": {
"description": "Continue a pipeline from the setup phase.",
"description": "Continue a pipeline from the setup phase. For information on using pipeline parameters with dynamic configuration, see the [Pipeline values and parameters](https://circleci.com/docs/pipeline-variables/#pipeline-parameters-and-dynamic-configuration) docs.",
"operationId": "continuePipeline",
"requestBody": {
"content": {
Expand Down

0 comments on commit 5e9e715

Please sign in to comment.