Skip to content

Commit

Permalink
fix(git-tokens): preserve previous params order
Browse files Browse the repository at this point in the history
TS generated client relies on params declaration order to generate
function like `func(param1, param2)`. So order MUST be preserved even if
this is named param.
  • Loading branch information
ctjhoa committed Oct 25, 2023
1 parent c074418 commit 2e561c1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ get:
parameters:
- $ref: '../parameters/path/organizationId.yaml'
- in: query
name: gitTokenId
name: name
schema:
type: string
format: uuid
description: The git token id that must be used for the application
description: The name of the repository where to retrieve the branches
- in: query
name: name
name: gitTokenId
schema:
type: string
description: The name of the repository where to retrieve the branches
format: uuid
description: The git token id that must be used for the application
responses:
'200':
description: 'Get bitbucket repository branches'
Expand Down
10 changes: 5 additions & 5 deletions src/resources/OrganizationAccountGitRepositoryGithubBranch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ get:
parameters:
- $ref: '../parameters/path/organizationId.yaml'
- in: query
name: gitTokenId
name: name
schema:
type: string
format: uuid
description: The git token id that must be used for the application
description: The name of the repository where to retrieve the branches
- in: query
name: name
name: gitTokenId
schema:
type: string
description: The name of the repository where to retrieve the branches
format: uuid
description: The git token id that must be used for the application
responses:
'200':
description: 'Get github repository branches'
Expand Down
10 changes: 5 additions & 5 deletions src/resources/OrganizationAccountGitRepositoryGitlabBranch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ get:
parameters:
- $ref: '../parameters/path/organizationId.yaml'
- in: query
name: gitTokenId
name: name
schema:
type: string
format: uuid
description: The git token id that must be used for the application
description: The name of the repository to retrieve the branches
- in: query
name: name
name: gitTokenId
schema:
type: string
description: The name of the repository to retrieve the branches
format: uuid
description: The git token id that must be used for the application
responses:
'200':
description: 'Get gitlab repository branches'
Expand Down

0 comments on commit 2e561c1

Please sign in to comment.