From 2e561c13d61c3b7a259ac05d5152163973f15b49 Mon Sep 17 00:00:00 2001 From: Camille TJHOA Date: Wed, 25 Oct 2023 11:57:49 +0200 Subject: [PATCH] fix(git-tokens): preserve previous params order 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. --- ...rganizationAccountGitRepositoryBitbucketBranch.yaml | 10 +++++----- .../OrganizationAccountGitRepositoryGithubBranch.yaml | 10 +++++----- .../OrganizationAccountGitRepositoryGitlabBranch.yaml | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/resources/OrganizationAccountGitRepositoryBitbucketBranch.yaml b/src/resources/OrganizationAccountGitRepositoryBitbucketBranch.yaml index dc7414fe..458bf142 100644 --- a/src/resources/OrganizationAccountGitRepositoryBitbucketBranch.yaml +++ b/src/resources/OrganizationAccountGitRepositoryBitbucketBranch.yaml @@ -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' diff --git a/src/resources/OrganizationAccountGitRepositoryGithubBranch.yaml b/src/resources/OrganizationAccountGitRepositoryGithubBranch.yaml index 31748956..82a99618 100644 --- a/src/resources/OrganizationAccountGitRepositoryGithubBranch.yaml +++ b/src/resources/OrganizationAccountGitRepositoryGithubBranch.yaml @@ -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' diff --git a/src/resources/OrganizationAccountGitRepositoryGitlabBranch.yaml b/src/resources/OrganizationAccountGitRepositoryGitlabBranch.yaml index 8322d8d3..1d9b2c35 100644 --- a/src/resources/OrganizationAccountGitRepositoryGitlabBranch.yaml +++ b/src/resources/OrganizationAccountGitRepositoryGitlabBranch.yaml @@ -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'