From 553a56efb3fc7a7456b5bb4924cffcae26b2e761 Mon Sep 17 00:00:00 2001 From: nadavsteindler Date: Tue, 17 Dec 2024 12:55:22 +0200 Subject: [PATCH] change name --- api/swagger.yml | 4 ++-- clients/java/api/openapi.yaml | 2 +- docs/assets/js/swagger.yml | 4 ++-- pkg/api/controller.go | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/api/swagger.yml b/api/swagger.yml index 0f7c07ba8c4..77f183eafdf 100644 --- a/api/swagger.yml +++ b/api/swagger.yml @@ -71,7 +71,7 @@ components: schema: type: string - PaginationSearchString: + SearchString: in: query name: search description: string for searching relevant entries @@ -2915,7 +2915,7 @@ paths: - $ref: "#/components/parameters/PaginationPrefix" - $ref: "#/components/parameters/PaginationAfter" - $ref: "#/components/parameters/PaginationAmount" - - $ref: "#/components/parameters/PaginationSearchString" + - $ref: "#/components/parameters/SearchString" operationId: listRepositories summary: list repositories responses: diff --git a/clients/java/api/openapi.yaml b/clients/java/api/openapi.yaml index c423aae7df4..c2bfede9523 100644 --- a/clients/java/api/openapi.yaml +++ b/clients/java/api/openapi.yaml @@ -7395,7 +7395,7 @@ components: schema: type: string style: form - PaginationSearchString: + SearchString: description: string for searching relevant entries explode: true in: query diff --git a/docs/assets/js/swagger.yml b/docs/assets/js/swagger.yml index 2a5f0cde7d6..9855f973765 100644 --- a/docs/assets/js/swagger.yml +++ b/docs/assets/js/swagger.yml @@ -71,7 +71,7 @@ components: schema: type: string - PaginationSearchString: + SearchString: in: query name: search description: string for searching relevant entries @@ -2915,7 +2915,7 @@ paths: - $ref: "#/components/parameters/PaginationPrefix" - $ref: "#/components/parameters/PaginationAfter" - $ref: "#/components/parameters/PaginationAmount" - - $ref: "#/components/parameters/PaginationSearchString" + - $ref: "#/components/parameters/SearchString" operationId: listRepositories summary: list repositories responses: diff --git a/pkg/api/controller.go b/pkg/api/controller.go index c5d8ee963d3..b77d8218a43 100644 --- a/pkg/api/controller.go +++ b/pkg/api/controller.go @@ -5470,7 +5470,7 @@ func paginationDelimiter(v *apigen.PaginationDelimiter) string { return string(*v) } -func paginationSearch(v *apigen.PaginationSearchString) string { +func paginationSearch(v *apigen.SearchString) string { if v == nil { return "" }