Skip to content
This repository was archived by the owner on Mar 28, 2025. It is now read-only.

Commit 9865459

Browse files
authored
Merge pull request #140 from Catrobat/create-pull-request/patch-1709279433
Bump autogenerated OpenAPI code
2 parents c4f0f12 + 8a6c311 commit 9865459

File tree

102 files changed

+744
-459
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+744
-459
lines changed

Api/ApiServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* API for the Catrobat Share Platform
1818
*
19-
* The version of the OpenAPI document: v1.2.0
19+
* The version of the OpenAPI document: v1.3.0
2020
* Contact: webmaster@catrobat.org
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/

Api/AuthenticationApiInterface.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* API for the Catrobat Share Platform
1818
*
19-
* The version of the OpenAPI document: v1.2.0
19+
* The version of the OpenAPI document: v1.3.0
2020
* Contact: webmaster@catrobat.org
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/
@@ -82,7 +82,7 @@ public function authenticationGet(int &$responseCode, array &$responseHeaders):
8282
* @param int &$responseCode The HTTP Response Code
8383
* @param array $responseHeaders Additional HTTP headers to return with the response ()
8484
*/
85-
public function authenticationOauthPost(OAuthLoginRequest $o_auth_login_request, int &$responseCode, array &$responseHeaders): null|array|object;
85+
public function authenticationOauthPost(OAuthLoginRequest $o_auth_login_request, int &$responseCode, array &$responseHeaders): array|object|null;
8686

8787
/**
8888
* Operation authenticationPost.
@@ -93,7 +93,7 @@ public function authenticationOauthPost(OAuthLoginRequest $o_auth_login_request,
9393
* @param int &$responseCode The HTTP Response Code
9494
* @param array $responseHeaders Additional HTTP headers to return with the response ()
9595
*/
96-
public function authenticationPost(LoginRequest $login_request, int &$responseCode, array &$responseHeaders): null|array|object;
96+
public function authenticationPost(LoginRequest $login_request, int &$responseCode, array &$responseHeaders): array|object|null;
9797

9898
/**
9999
* Operation authenticationRefreshPost.
@@ -104,7 +104,7 @@ public function authenticationPost(LoginRequest $login_request, int &$responseCo
104104
* @param int &$responseCode The HTTP Response Code
105105
* @param array $responseHeaders Additional HTTP headers to return with the response ()
106106
*/
107-
public function authenticationRefreshPost(RefreshRequest $refresh_request, int &$responseCode, array &$responseHeaders): null|array|object;
107+
public function authenticationRefreshPost(RefreshRequest $refresh_request, int &$responseCode, array &$responseHeaders): array|object|null;
108108

109109
/**
110110
* Operation authenticationUpgradePost.
@@ -115,5 +115,5 @@ public function authenticationRefreshPost(RefreshRequest $refresh_request, int &
115115
* @param int &$responseCode The HTTP Response Code
116116
* @param array $responseHeaders Additional HTTP headers to return with the response ()
117117
*/
118-
public function authenticationUpgradePost(UpgradeTokenRequest $upgrade_token_request, int &$responseCode, array &$responseHeaders): null|array|object;
118+
public function authenticationUpgradePost(UpgradeTokenRequest $upgrade_token_request, int &$responseCode, array &$responseHeaders): array|object|null;
119119
}

Api/MediaLibraryApiInterface.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* API for the Catrobat Share Platform
1818
*
19-
* The version of the OpenAPI document: v1.2.0
19+
* The version of the OpenAPI document: v1.3.0
2020
* Contact: webmaster@catrobat.org
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/
@@ -50,7 +50,7 @@ interface MediaLibraryApiInterface
5050
* @param int &$responseCode The HTTP Response Code
5151
* @param array $responseHeaders Additional HTTP headers to return with the response ()
5252
*/
53-
public function mediaFileIdGet(int $id, string $attributes, int &$responseCode, array &$responseHeaders): null|array|object;
53+
public function mediaFileIdGet(int $id, string $attributes, int &$responseCode, array &$responseHeaders): array|object|null;
5454

5555
/**
5656
* Operation mediaFilesGet.
@@ -64,7 +64,7 @@ public function mediaFileIdGet(int $id, string $attributes, int &$responseCode,
6464
* @param int &$responseCode The HTTP Response Code
6565
* @param array $responseHeaders Additional HTTP headers to return with the response ()
6666
*/
67-
public function mediaFilesGet(int $limit, int $offset, string $attributes, string $flavor, int &$responseCode, array &$responseHeaders): null|array|object;
67+
public function mediaFilesGet(int $limit, int $offset, string $attributes, string $flavor, int &$responseCode, array &$responseHeaders): array|object|null;
6868

6969
/**
7070
* Operation mediaFilesSearchGet.
@@ -80,7 +80,7 @@ public function mediaFilesGet(int $limit, int $offset, string $attributes, strin
8080
* @param int &$responseCode The HTTP Response Code
8181
* @param array $responseHeaders Additional HTTP headers to return with the response ()
8282
*/
83-
public function mediaFilesSearchGet(string $query, int $limit, int $offset, string $attributes, string $flavor, string $package_name, int &$responseCode, array &$responseHeaders): null|array|object;
83+
public function mediaFilesSearchGet(string $query, int $limit, int $offset, string $attributes, string $flavor, string $package_name, int &$responseCode, array &$responseHeaders): array|object|null;
8484

8585
/**
8686
* Operation mediaPackageNameGet.
@@ -94,5 +94,5 @@ public function mediaFilesSearchGet(string $query, int $limit, int $offset, stri
9494
* @param int &$responseCode The HTTP Response Code
9595
* @param array $responseHeaders Additional HTTP headers to return with the response ()
9696
*/
97-
public function mediaPackageNameGet(string $name, int $limit, int $offset, string $attributes, int &$responseCode, array &$responseHeaders): null|array|object;
97+
public function mediaPackageNameGet(string $name, int $limit, int $offset, string $attributes, int &$responseCode, array &$responseHeaders): array|object|null;
9898
}

Api/NotificationsApiInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* API for the Catrobat Share Platform
1818
*
19-
* The version of the OpenAPI document: v1.2.0
19+
* The version of the OpenAPI document: v1.3.0
2020
* Contact: webmaster@catrobat.org
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/
@@ -67,7 +67,7 @@ public function notificationIdReadPut(int $id, string $accept_language, int &$re
6767
* @param int &$responseCode The HTTP Response Code
6868
* @param array $responseHeaders Additional HTTP headers to return with the response ()
6969
*/
70-
public function notificationsCountGet(int &$responseCode, array &$responseHeaders): null|array|object;
70+
public function notificationsCountGet(int &$responseCode, array &$responseHeaders): array|object|null;
7171

7272
/**
7373
* Operation notificationsGet.
@@ -82,7 +82,7 @@ public function notificationsCountGet(int &$responseCode, array &$responseHeader
8282
* @param int &$responseCode The HTTP Response Code
8383
* @param array $responseHeaders Additional HTTP headers to return with the response ()
8484
*/
85-
public function notificationsGet(string $accept_language, int $limit, int $offset, string $attributes, string $type, int &$responseCode, array &$responseHeaders): null|array|object;
85+
public function notificationsGet(string $accept_language, int $limit, int $offset, string $attributes, string $type, int &$responseCode, array &$responseHeaders): array|object|null;
8686

8787
/**
8888
* Operation notificationsReadPut.

Api/ProjectsApiInterface.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* API for the Catrobat Share Platform
1818
*
19-
* The version of the OpenAPI document: v1.2.0
19+
* The version of the OpenAPI document: v1.3.0
2020
* Contact: webmaster@catrobat.org
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/
@@ -60,7 +60,7 @@ public function setPandaAuth(?string $value): void;
6060
* @param int &$responseCode The HTTP Response Code
6161
* @param array $responseHeaders Additional HTTP headers to return with the response ()
6262
*/
63-
public function projectIdCatrobatGet(string $id, int &$responseCode, array &$responseHeaders): null|array|object;
63+
public function projectIdCatrobatGet(string $id, int &$responseCode, array &$responseHeaders): array|object|null;
6464

6565
/**
6666
* Operation projectIdDelete.
@@ -82,7 +82,7 @@ public function projectIdDelete(string $id, int &$responseCode, array &$response
8282
* @param int &$responseCode The HTTP Response Code
8383
* @param array $responseHeaders Additional HTTP headers to return with the response ()
8484
*/
85-
public function projectIdGet(string $id, int &$responseCode, array &$responseHeaders): null|array|object;
85+
public function projectIdGet(string $id, int &$responseCode, array &$responseHeaders): array|object|null;
8686

8787
/**
8888
* Operation projectIdPut.
@@ -95,7 +95,7 @@ public function projectIdGet(string $id, int &$responseCode, array &$responseHea
9595
* @param int &$responseCode The HTTP Response Code
9696
* @param array $responseHeaders Additional HTTP headers to return with the response ()
9797
*/
98-
public function projectIdPut(string $id, UpdateProjectRequest $update_project_request, string $accept_language, int &$responseCode, array &$responseHeaders): null|array|object;
98+
public function projectIdPut(string $id, UpdateProjectRequest $update_project_request, string $accept_language, int &$responseCode, array &$responseHeaders): array|object|null;
9999

100100
/**
101101
* Operation projectIdRecommendationsGet.
@@ -113,7 +113,7 @@ public function projectIdPut(string $id, UpdateProjectRequest $update_project_re
113113
* @param int &$responseCode The HTTP Response Code
114114
* @param array $responseHeaders Additional HTTP headers to return with the response ()
115115
*/
116-
public function projectIdRecommendationsGet(string $id, string $category, string $accept_language, string $max_version, int $limit, int $offset, string $attributes, string $flavor, int &$responseCode, array &$responseHeaders): null|array|object;
116+
public function projectIdRecommendationsGet(string $id, string $category, string $accept_language, string $max_version, int $limit, int $offset, string $attributes, string $flavor, int &$responseCode, array &$responseHeaders): array|object|null;
117117

118118
/**
119119
* Operation projectIdReportPost.
@@ -138,7 +138,7 @@ public function projectIdReportPost(string $id, ProjectReportRequest $project_re
138138
* @param int &$responseCode The HTTP Response Code
139139
* @param array $responseHeaders Additional HTTP headers to return with the response ()
140140
*/
141-
public function projectsCategoriesGet(string $max_version, string $flavor, string $accept_language, int &$responseCode, array &$responseHeaders): null|array|object;
141+
public function projectsCategoriesGet(string $max_version, string $flavor, string $accept_language, int &$responseCode, array &$responseHeaders): array|object|null;
142142

143143
/**
144144
* Operation projectsExtensionsGet.
@@ -149,7 +149,7 @@ public function projectsCategoriesGet(string $max_version, string $flavor, strin
149149
* @param int &$responseCode The HTTP Response Code
150150
* @param array $responseHeaders Additional HTTP headers to return with the response ()
151151
*/
152-
public function projectsExtensionsGet(string $accept_language, int &$responseCode, array &$responseHeaders): null|array|object;
152+
public function projectsExtensionsGet(string $accept_language, int &$responseCode, array &$responseHeaders): array|object|null;
153153

154154
/**
155155
* Operation projectsFeaturedGet.
@@ -165,7 +165,7 @@ public function projectsExtensionsGet(string $accept_language, int &$responseCod
165165
* @param int &$responseCode The HTTP Response Code
166166
* @param array $responseHeaders Additional HTTP headers to return with the response ()
167167
*/
168-
public function projectsFeaturedGet(string $platform, string $max_version, int $limit, int $offset, string $attributes, string $flavor, int &$responseCode, array &$responseHeaders): null|array|object;
168+
public function projectsFeaturedGet(string $platform, string $max_version, int $limit, int $offset, string $attributes, string $flavor, int &$responseCode, array &$responseHeaders): array|object|null;
169169

170170
/**
171171
* Operation projectsGet.
@@ -182,7 +182,7 @@ public function projectsFeaturedGet(string $platform, string $max_version, int $
182182
* @param int &$responseCode The HTTP Response Code
183183
* @param array $responseHeaders Additional HTTP headers to return with the response ()
184184
*/
185-
public function projectsGet(string $category, string $accept_language, string $max_version, int $limit, int $offset, string $attributes, string $flavor, int &$responseCode, array &$responseHeaders): null|array|object;
185+
public function projectsGet(string $category, string $accept_language, string $max_version, int $limit, int $offset, string $attributes, string $flavor, int &$responseCode, array &$responseHeaders): array|object|null;
186186

187187
/**
188188
* Operation projectsPost.
@@ -197,7 +197,7 @@ public function projectsGet(string $category, string $accept_language, string $m
197197
* @param int &$responseCode The HTTP Response Code
198198
* @param array $responseHeaders Additional HTTP headers to return with the response ()
199199
*/
200-
public function projectsPost(string $checksum, UploadedFile $file, string $accept_language, string $flavor, bool $private, int &$responseCode, array &$responseHeaders): null|array|object;
200+
public function projectsPost(string $checksum, UploadedFile $file, string $accept_language, string $flavor, bool $private, int &$responseCode, array &$responseHeaders): array|object|null;
201201

202202
/**
203203
* Operation projectsSearchGet.
@@ -213,7 +213,7 @@ public function projectsPost(string $checksum, UploadedFile $file, string $accep
213213
* @param int &$responseCode The HTTP Response Code
214214
* @param array $responseHeaders Additional HTTP headers to return with the response ()
215215
*/
216-
public function projectsSearchGet(string $query, string $max_version, int $limit, int $offset, string $attributes, string $flavor, int &$responseCode, array &$responseHeaders): null|array|object;
216+
public function projectsSearchGet(string $query, string $max_version, int $limit, int $offset, string $attributes, string $flavor, int &$responseCode, array &$responseHeaders): array|object|null;
217217

218218
/**
219219
* Operation projectsTagsGet.
@@ -224,7 +224,7 @@ public function projectsSearchGet(string $query, string $max_version, int $limit
224224
* @param int &$responseCode The HTTP Response Code
225225
* @param array $responseHeaders Additional HTTP headers to return with the response ()
226226
*/
227-
public function projectsTagsGet(string $accept_language, int &$responseCode, array &$responseHeaders): null|array|object;
227+
public function projectsTagsGet(string $accept_language, int &$responseCode, array &$responseHeaders): array|object|null;
228228

229229
/**
230230
* Operation projectsUserGet.
@@ -239,7 +239,7 @@ public function projectsTagsGet(string $accept_language, int &$responseCode, arr
239239
* @param int &$responseCode The HTTP Response Code
240240
* @param array $responseHeaders Additional HTTP headers to return with the response ()
241241
*/
242-
public function projectsUserGet(string $max_version, int $limit, int $offset, string $attributes, string $flavor, int &$responseCode, array &$responseHeaders): null|array|object;
242+
public function projectsUserGet(string $max_version, int $limit, int $offset, string $attributes, string $flavor, int &$responseCode, array &$responseHeaders): array|object|null;
243243

244244
/**
245245
* Operation projectsUserIdGet.
@@ -255,5 +255,5 @@ public function projectsUserGet(string $max_version, int $limit, int $offset, st
255255
* @param int &$responseCode The HTTP Response Code
256256
* @param array $responseHeaders Additional HTTP headers to return with the response ()
257257
*/
258-
public function projectsUserIdGet(string $id, string $max_version, int $limit, int $offset, string $attributes, string $flavor, int &$responseCode, array &$responseHeaders): null|array|object;
258+
public function projectsUserIdGet(string $id, string $max_version, int $limit, int $offset, string $attributes, string $flavor, int &$responseCode, array &$responseHeaders): array|object|null;
259259
}

Api/SearchApiInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* API for the Catrobat Share Platform
1818
*
19-
* The version of the OpenAPI document: v1.2.0
19+
* The version of the OpenAPI document: v1.3.0
2020
* Contact: webmaster@catrobat.org
2121
* Generated by: https://github.com/openapitools/openapi-generator.git
2222
*/
@@ -52,5 +52,5 @@ interface SearchApiInterface
5252
* @param int &$responseCode The HTTP Response Code
5353
* @param array $responseHeaders Additional HTTP headers to return with the response ()
5454
*/
55-
public function searchGet(string $query, string $type, int $limit, int $offset, int &$responseCode, array &$responseHeaders): null|array|object;
55+
public function searchGet(string $query, string $type, int $limit, int $offset, int &$responseCode, array &$responseHeaders): array|object|null;
5656
}

0 commit comments

Comments
 (0)