@@ -1742,8 +1742,8 @@ public function getProjectWatchersRequest($slug_or_id, $pagination, string $cont
17421742 * @param string|null $category A category to filter for (optional)
17431743 * @param string|null $platform A platform to filter for (optional)
17441744 * @param string|null $owner The author of the project (optional)
1745- * @param string|null $query The query to use when searching (optional)
17461745 * @param string|null $q Deprecated: Use 'query' instead (optional) (deprecated)
1746+ * @param string|null $query The query to use when searching (optional)
17471747 * @param string|null $license A license to filter for (optional)
17481748 * @param string|null $version A platform version to filter for (optional)
17491749 * @param string|null $tag A tag to filter for (optional)
@@ -1754,9 +1754,9 @@ public function getProjectWatchersRequest($slug_or_id, $pagination, string $cont
17541754 * @throws \InvalidArgumentException
17551755 * @return \Aternos\HangarApi\Model\PaginatedResultProject|\Aternos\HangarApi\Model\PaginatedResultProject|\Aternos\HangarApi\Model\PaginatedResultProject
17561756 */
1757- public function getProjects ($ pagination , $ prioritize_exact_match = true , $ sort = null , $ category = null , $ platform = null , $ owner = null , $ query = null , $ q = null , $ license = null , $ version = null , $ tag = null , $ member = null , string $ contentType = self ::contentTypes['getProjects ' ][0 ])
1757+ public function getProjects ($ pagination , $ prioritize_exact_match = true , $ sort = null , $ category = null , $ platform = null , $ owner = null , $ q = null , $ query = null , $ license = null , $ version = null , $ tag = null , $ member = null , string $ contentType = self ::contentTypes['getProjects ' ][0 ])
17581758 {
1759- list ($ response ) = $ this ->getProjectsWithHttpInfo ($ pagination , $ prioritize_exact_match , $ sort , $ category , $ platform , $ owner , $ query , $ q , $ license , $ version , $ tag , $ member , $ contentType );
1759+ list ($ response ) = $ this ->getProjectsWithHttpInfo ($ pagination , $ prioritize_exact_match , $ sort , $ category , $ platform , $ owner , $ q , $ query , $ license , $ version , $ tag , $ member , $ contentType );
17601760 return $ response ;
17611761 }
17621762
@@ -1771,8 +1771,8 @@ public function getProjects($pagination, $prioritize_exact_match = true, $sort =
17711771 * @param string|null $category A category to filter for (optional)
17721772 * @param string|null $platform A platform to filter for (optional)
17731773 * @param string|null $owner The author of the project (optional)
1774- * @param string|null $query The query to use when searching (optional)
17751774 * @param string|null $q Deprecated: Use 'query' instead (optional) (deprecated)
1775+ * @param string|null $query The query to use when searching (optional)
17761776 * @param string|null $license A license to filter for (optional)
17771777 * @param string|null $version A platform version to filter for (optional)
17781778 * @param string|null $tag A tag to filter for (optional)
@@ -1783,9 +1783,9 @@ public function getProjects($pagination, $prioritize_exact_match = true, $sort =
17831783 * @throws \InvalidArgumentException
17841784 * @return array of \Aternos\HangarApi\Model\PaginatedResultProject|\Aternos\HangarApi\Model\PaginatedResultProject|\Aternos\HangarApi\Model\PaginatedResultProject, HTTP status code, HTTP response headers (array of strings)
17851785 */
1786- public function getProjectsWithHttpInfo ($ pagination , $ prioritize_exact_match = true , $ sort = null , $ category = null , $ platform = null , $ owner = null , $ query = null , $ q = null , $ license = null , $ version = null , $ tag = null , $ member = null , string $ contentType = self ::contentTypes['getProjects ' ][0 ])
1786+ public function getProjectsWithHttpInfo ($ pagination , $ prioritize_exact_match = true , $ sort = null , $ category = null , $ platform = null , $ owner = null , $ q = null , $ query = null , $ license = null , $ version = null , $ tag = null , $ member = null , string $ contentType = self ::contentTypes['getProjects ' ][0 ])
17871787 {
1788- $ request = $ this ->getProjectsRequest ($ pagination , $ prioritize_exact_match , $ sort , $ category , $ platform , $ owner , $ query , $ q , $ license , $ version , $ tag , $ member , $ contentType );
1788+ $ request = $ this ->getProjectsRequest ($ pagination , $ prioritize_exact_match , $ sort , $ category , $ platform , $ owner , $ q , $ query , $ license , $ version , $ tag , $ member , $ contentType );
17891789
17901790 try {
17911791 $ options = $ this ->createHttpClientOption ();
@@ -1977,8 +1977,8 @@ public function getProjectsWithHttpInfo($pagination, $prioritize_exact_match = t
19771977 * @param string|null $category A category to filter for (optional)
19781978 * @param string|null $platform A platform to filter for (optional)
19791979 * @param string|null $owner The author of the project (optional)
1980- * @param string|null $query The query to use when searching (optional)
19811980 * @param string|null $q Deprecated: Use 'query' instead (optional) (deprecated)
1981+ * @param string|null $query The query to use when searching (optional)
19821982 * @param string|null $license A license to filter for (optional)
19831983 * @param string|null $version A platform version to filter for (optional)
19841984 * @param string|null $tag A tag to filter for (optional)
@@ -1988,9 +1988,9 @@ public function getProjectsWithHttpInfo($pagination, $prioritize_exact_match = t
19881988 * @throws \InvalidArgumentException
19891989 * @return \GuzzleHttp\Promise\PromiseInterface
19901990 */
1991- public function getProjectsAsync ($ pagination , $ prioritize_exact_match = true , $ sort = null , $ category = null , $ platform = null , $ owner = null , $ query = null , $ q = null , $ license = null , $ version = null , $ tag = null , $ member = null , string $ contentType = self ::contentTypes['getProjects ' ][0 ])
1991+ public function getProjectsAsync ($ pagination , $ prioritize_exact_match = true , $ sort = null , $ category = null , $ platform = null , $ owner = null , $ q = null , $ query = null , $ license = null , $ version = null , $ tag = null , $ member = null , string $ contentType = self ::contentTypes['getProjects ' ][0 ])
19921992 {
1993- return $ this ->getProjectsAsyncWithHttpInfo ($ pagination , $ prioritize_exact_match , $ sort , $ category , $ platform , $ owner , $ query , $ q , $ license , $ version , $ tag , $ member , $ contentType )
1993+ return $ this ->getProjectsAsyncWithHttpInfo ($ pagination , $ prioritize_exact_match , $ sort , $ category , $ platform , $ owner , $ q , $ query , $ license , $ version , $ tag , $ member , $ contentType )
19941994 ->then (
19951995 function ($ response ) {
19961996 return $ response [0 ];
@@ -2009,8 +2009,8 @@ function ($response) {
20092009 * @param string|null $category A category to filter for (optional)
20102010 * @param string|null $platform A platform to filter for (optional)
20112011 * @param string|null $owner The author of the project (optional)
2012- * @param string|null $query The query to use when searching (optional)
20132012 * @param string|null $q Deprecated: Use 'query' instead (optional) (deprecated)
2013+ * @param string|null $query The query to use when searching (optional)
20142014 * @param string|null $license A license to filter for (optional)
20152015 * @param string|null $version A platform version to filter for (optional)
20162016 * @param string|null $tag A tag to filter for (optional)
@@ -2020,10 +2020,10 @@ function ($response) {
20202020 * @throws \InvalidArgumentException
20212021 * @return \GuzzleHttp\Promise\PromiseInterface
20222022 */
2023- public function getProjectsAsyncWithHttpInfo ($ pagination , $ prioritize_exact_match = true , $ sort = null , $ category = null , $ platform = null , $ owner = null , $ query = null , $ q = null , $ license = null , $ version = null , $ tag = null , $ member = null , string $ contentType = self ::contentTypes['getProjects ' ][0 ])
2023+ public function getProjectsAsyncWithHttpInfo ($ pagination , $ prioritize_exact_match = true , $ sort = null , $ category = null , $ platform = null , $ owner = null , $ q = null , $ query = null , $ license = null , $ version = null , $ tag = null , $ member = null , string $ contentType = self ::contentTypes['getProjects ' ][0 ])
20242024 {
20252025 $ returnType = '\Aternos\HangarApi\Model\PaginatedResultProject ' ;
2026- $ request = $ this ->getProjectsRequest ($ pagination , $ prioritize_exact_match , $ sort , $ category , $ platform , $ owner , $ query , $ q , $ license , $ version , $ tag , $ member , $ contentType );
2026+ $ request = $ this ->getProjectsRequest ($ pagination , $ prioritize_exact_match , $ sort , $ category , $ platform , $ owner , $ q , $ query , $ license , $ version , $ tag , $ member , $ contentType );
20272027
20282028 return $ this ->client
20292029 ->sendAsync ($ request , $ this ->createHttpClientOption ())
@@ -2070,8 +2070,8 @@ function ($exception) {
20702070 * @param string|null $category A category to filter for (optional)
20712071 * @param string|null $platform A platform to filter for (optional)
20722072 * @param string|null $owner The author of the project (optional)
2073- * @param string|null $query The query to use when searching (optional)
20742073 * @param string|null $q Deprecated: Use 'query' instead (optional) (deprecated)
2074+ * @param string|null $query The query to use when searching (optional)
20752075 * @param string|null $license A license to filter for (optional)
20762076 * @param string|null $version A platform version to filter for (optional)
20772077 * @param string|null $tag A tag to filter for (optional)
@@ -2081,7 +2081,7 @@ function ($exception) {
20812081 * @throws \InvalidArgumentException
20822082 * @return \GuzzleHttp\Psr7\Request
20832083 */
2084- public function getProjectsRequest ($ pagination , $ prioritize_exact_match = true , $ sort = null , $ category = null , $ platform = null , $ owner = null , $ query = null , $ q = null , $ license = null , $ version = null , $ tag = null , $ member = null , string $ contentType = self ::contentTypes['getProjects ' ][0 ])
2084+ public function getProjectsRequest ($ pagination , $ prioritize_exact_match = true , $ sort = null , $ category = null , $ platform = null , $ owner = null , $ q = null , $ query = null , $ license = null , $ version = null , $ tag = null , $ member = null , string $ contentType = self ::contentTypes['getProjects ' ][0 ])
20852085 {
20862086
20872087 // verify the required parameter 'pagination' is set
@@ -2166,17 +2166,17 @@ public function getProjectsRequest($pagination, $prioritize_exact_match = true,
21662166 ) ?? []);
21672167 // query params
21682168 $ queryParams = array_merge ($ queryParams , ObjectSerializer::toQueryValue (
2169- $ query ,
2170- 'query ' , // param base name
2169+ $ q ,
2170+ 'q ' , // param base name
21712171 'string ' , // openApiType
21722172 'form ' , // style
21732173 true , // explode
21742174 false // required
21752175 ) ?? []);
21762176 // query params
21772177 $ queryParams = array_merge ($ queryParams , ObjectSerializer::toQueryValue (
2178- $ q ,
2179- 'q ' , // param base name
2178+ $ query ,
2179+ 'query ' , // param base name
21802180 'string ' , // openApiType
21812181 'form ' , // style
21822182 true , // explode
0 commit comments