Skip to content

Commit

Permalink
Deploying from phrase/openapi@64d399ce
Browse files Browse the repository at this point in the history
  • Loading branch information
Phrase committed Dec 9, 2024
1 parent 5876f3c commit 7a3739f
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 18 deletions.
30 changes: 24 additions & 6 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15515,7 +15515,7 @@ paths:
schema:
type: integer
style: form
- description: specify the branch to use
- description: Branch to use
example: my-feature-branch
explode: true
in: query
Expand Down Expand Up @@ -15718,7 +15718,7 @@ paths:
schema:
type: string
style: simple
- description: specify the branch to use
- description: Branch to use
example: my-feature-branch
explode: true
in: query
Expand Down Expand Up @@ -15820,7 +15820,7 @@ paths:
schema:
type: string
style: simple
- description: specify the branch to use
- description: Branch to use
example: my-feature-branch
explode: true
in: query
Expand Down Expand Up @@ -27089,7 +27089,7 @@ paths:
schema:
type: string
style: simple
- description: specify the branch to use
- description: Branch to use
example: my-feature-branch
explode: true
in: query
Expand Down Expand Up @@ -27191,7 +27191,7 @@ paths:
schema:
type: string
style: simple
- description: specify the branch to use
- description: Branch to use
example: my-feature-branch
explode: true
in: query
Expand Down Expand Up @@ -27390,7 +27390,7 @@ paths:
schema:
type: string
style: simple
- description: specify the branch to use
- description: Branch to use
example: my-feature-branch
explode: true
in: query
Expand Down Expand Up @@ -29347,6 +29347,16 @@ components:
schema:
type: string
style: form
branch:
description: Branch to use
example: my-feature-branch
explode: true
in: query
name: branch
required: false
schema:
type: string
style: form
page:
allowEmptyValue: false
description: Page number
Expand Down Expand Up @@ -35623,6 +35633,10 @@ components:
description: Comment message
example: Some message...
type: string
branch:
description: Branch name for the job
example: my-feature-branch
type: string
title: job_comment/update/parameters
type: object
job_comment_create_parameters:
Expand All @@ -35631,6 +35645,10 @@ components:
description: Job comment message
example: Some message...
type: string
branch:
description: Branch name for the job
example: my-feature-branch
type: string
title: job_comment/create/parameters
type: object
organization_job_template_create_parameters:
Expand Down
6 changes: 3 additions & 3 deletions api_job_comments.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ Delete an existing job comment.
- @param id ID
- @param optional nil or *JobCommentDeleteOpts - Optional Parameters:
- @param "XPhraseAppOTP" (optional.String) - Two-Factor-Authentication token (optional)
- @param "Branch" (optional.String) - specify the branch to use
- @param "Branch" (optional.String) - Branch to use
*/
func (a *JobCommentsApiService) JobCommentDelete(ctx _context.Context, projectId string, jobId string, id string, localVarOptionals *JobCommentDeleteOpts) ([]byte, *APIResponse, error) {
var (
Expand Down Expand Up @@ -240,7 +240,7 @@ Get details on a single job comment.
- @param id ID
- @param optional nil or *JobCommentShowOpts - Optional Parameters:
- @param "XPhraseAppOTP" (optional.String) - Two-Factor-Authentication token (optional)
- @param "Branch" (optional.String) - specify the branch to use
- @param "Branch" (optional.String) - Branch to use
@return JobComment
*/
Expand Down Expand Up @@ -462,7 +462,7 @@ List all comments for a job.
- @param jobId Job ID
- @param optional nil or *JobCommentsListOpts - Optional Parameters:
- @param "XPhraseAppOTP" (optional.String) - Two-Factor-Authentication token (optional)
- @param "Branch" (optional.String) - specify the branch to use
- @param "Branch" (optional.String) - Branch to use
- @param "Order" (optional.String) - Order direction. Can be one of: asc, desc.
@return []JobComment
Expand Down
6 changes: 3 additions & 3 deletions api_job_locales.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ Removes a target locale from a job.
- @param id ID
- @param optional nil or *JobLocaleDeleteOpts - Optional Parameters:
- @param "XPhraseAppOTP" (optional.String) - Two-Factor-Authentication token (optional)
- @param "Branch" (optional.String) - specify the branch to use
- @param "Branch" (optional.String) - Branch to use
*/
func (a *JobLocalesApiService) JobLocaleDelete(ctx _context.Context, projectId string, jobId string, id string, localVarOptionals *JobLocaleDeleteOpts) ([]byte, *APIResponse, error) {
var (
Expand Down Expand Up @@ -463,7 +463,7 @@ Get a single target locale for a given job.
- @param id ID
- @param optional nil or *JobLocaleShowOpts - Optional Parameters:
- @param "XPhraseAppOTP" (optional.String) - Two-Factor-Authentication token (optional)
- @param "Branch" (optional.String) - specify the branch to use
- @param "Branch" (optional.String) - Branch to use
@return JobLocale
*/
Expand Down Expand Up @@ -795,7 +795,7 @@ List all target locales for a given job.
- @param "XPhraseAppOTP" (optional.String) - Two-Factor-Authentication token (optional)
- @param "Page" (optional.Int32) - Page number
- @param "PerPage" (optional.Int32) - Limit on the number of objects to be returned, between 1 and 100. 25 by default
- @param "Branch" (optional.String) - specify the branch to use
- @param "Branch" (optional.String) - Branch to use
@return []JobLocale
*/
Expand Down
1 change: 1 addition & 0 deletions docs/JobCommentCreateParameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Message** | **string** | Job comment message | [optional]
**Branch** | **string** | Branch name for the job | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 1 addition & 0 deletions docs/JobCommentUpdateParameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Message** | **string** | Comment message | [optional]
**Branch** | **string** | Branch name for the job | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
6 changes: 3 additions & 3 deletions docs/JobCommentsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Name | Type | Description | Notes


**xPhraseAppOTP** | **optional.String**| Two-Factor-Authentication token (optional) |
**branch** | **optional.String**| specify the branch to use |
**branch** | **optional.String**| Branch to use |

### Return type

Expand Down Expand Up @@ -141,7 +141,7 @@ Name | Type | Description | Notes


**xPhraseAppOTP** | **optional.String**| Two-Factor-Authentication token (optional) |
**branch** | **optional.String**| specify the branch to use |
**branch** | **optional.String**| Branch to use |

### Return type

Expand Down Expand Up @@ -240,7 +240,7 @@ Name | Type | Description | Notes


**xPhraseAppOTP** | **optional.String**| Two-Factor-Authentication token (optional) |
**branch** | **optional.String**| specify the branch to use |
**branch** | **optional.String**| Branch to use |
**order** | **optional.String**| Order direction. Can be one of: asc, desc. |

### Return type
Expand Down
6 changes: 3 additions & 3 deletions docs/JobLocalesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Name | Type | Description | Notes


**xPhraseAppOTP** | **optional.String**| Two-Factor-Authentication token (optional) |
**branch** | **optional.String**| specify the branch to use |
**branch** | **optional.String**| Branch to use |

### Return type

Expand Down Expand Up @@ -248,7 +248,7 @@ Name | Type | Description | Notes


**xPhraseAppOTP** | **optional.String**| Two-Factor-Authentication token (optional) |
**branch** | **optional.String**| specify the branch to use |
**branch** | **optional.String**| Branch to use |

### Return type

Expand Down Expand Up @@ -398,7 +398,7 @@ Name | Type | Description | Notes
**xPhraseAppOTP** | **optional.String**| Two-Factor-Authentication token (optional) |
**page** | **optional.Int32**| Page number |
**perPage** | **optional.Int32**| Limit on the number of objects to be returned, between 1 and 100. 25 by default |
**branch** | **optional.String**| specify the branch to use |
**branch** | **optional.String**| Branch to use |

### Return type

Expand Down
2 changes: 2 additions & 0 deletions model_job_comment_create_parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ package phrase
type JobCommentCreateParameters struct {
// Job comment message
Message string `json:"message,omitempty"`
// Branch name for the job
Branch string `json:"branch,omitempty"`
}
2 changes: 2 additions & 0 deletions model_job_comment_update_parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ package phrase
type JobCommentUpdateParameters struct {
// Comment message
Message string `json:"message,omitempty"`
// Branch name for the job
Branch string `json:"branch,omitempty"`
}

0 comments on commit 7a3739f

Please sign in to comment.