Skip to content

Commit

Permalink
Merge pull request #140 from Catrobat/create-pull-request/patch-17092…
Browse files Browse the repository at this point in the history
…79433

Bump autogenerated OpenAPI code
  • Loading branch information
dmetzner authored Mar 1, 2024
2 parents c4f0f12 + 8a6c311 commit 9865459
Show file tree
Hide file tree
Showing 102 changed files with 744 additions and 459 deletions.
2 changes: 1 addition & 1 deletion Api/ApiServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.2.0
* The version of the OpenAPI document: v1.3.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
10 changes: 5 additions & 5 deletions Api/AuthenticationApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.2.0
* The version of the OpenAPI document: v1.3.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down Expand Up @@ -82,7 +82,7 @@ public function authenticationGet(int &$responseCode, array &$responseHeaders):
* @param int &$responseCode The HTTP Response Code
* @param array $responseHeaders Additional HTTP headers to return with the response ()
*/
public function authenticationOauthPost(OAuthLoginRequest $o_auth_login_request, int &$responseCode, array &$responseHeaders): null|array|object;
public function authenticationOauthPost(OAuthLoginRequest $o_auth_login_request, int &$responseCode, array &$responseHeaders): array|object|null;

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

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

/**
* Operation authenticationUpgradePost.
Expand All @@ -115,5 +115,5 @@ public function authenticationRefreshPost(RefreshRequest $refresh_request, int &
* @param int &$responseCode The HTTP Response Code
* @param array $responseHeaders Additional HTTP headers to return with the response ()
*/
public function authenticationUpgradePost(UpgradeTokenRequest $upgrade_token_request, int &$responseCode, array &$responseHeaders): null|array|object;
public function authenticationUpgradePost(UpgradeTokenRequest $upgrade_token_request, int &$responseCode, array &$responseHeaders): array|object|null;
}
10 changes: 5 additions & 5 deletions Api/MediaLibraryApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.2.0
* The version of the OpenAPI document: v1.3.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down Expand Up @@ -50,7 +50,7 @@ interface MediaLibraryApiInterface
* @param int &$responseCode The HTTP Response Code
* @param array $responseHeaders Additional HTTP headers to return with the response ()
*/
public function mediaFileIdGet(int $id, string $attributes, int &$responseCode, array &$responseHeaders): null|array|object;
public function mediaFileIdGet(int $id, string $attributes, int &$responseCode, array &$responseHeaders): array|object|null;

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

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

/**
* Operation mediaPackageNameGet.
Expand All @@ -94,5 +94,5 @@ public function mediaFilesSearchGet(string $query, int $limit, int $offset, stri
* @param int &$responseCode The HTTP Response Code
* @param array $responseHeaders Additional HTTP headers to return with the response ()
*/
public function mediaPackageNameGet(string $name, int $limit, int $offset, string $attributes, int &$responseCode, array &$responseHeaders): null|array|object;
public function mediaPackageNameGet(string $name, int $limit, int $offset, string $attributes, int &$responseCode, array &$responseHeaders): array|object|null;
}
6 changes: 3 additions & 3 deletions Api/NotificationsApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.2.0
* The version of the OpenAPI document: v1.3.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down Expand Up @@ -67,7 +67,7 @@ public function notificationIdReadPut(int $id, string $accept_language, int &$re
* @param int &$responseCode The HTTP Response Code
* @param array $responseHeaders Additional HTTP headers to return with the response ()
*/
public function notificationsCountGet(int &$responseCode, array &$responseHeaders): null|array|object;
public function notificationsCountGet(int &$responseCode, array &$responseHeaders): array|object|null;

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

/**
* Operation notificationsReadPut.
Expand Down
28 changes: 14 additions & 14 deletions Api/ProjectsApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.2.0
* The version of the OpenAPI document: v1.3.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down Expand Up @@ -60,7 +60,7 @@ public function setPandaAuth(?string $value): void;
* @param int &$responseCode The HTTP Response Code
* @param array $responseHeaders Additional HTTP headers to return with the response ()
*/
public function projectIdCatrobatGet(string $id, int &$responseCode, array &$responseHeaders): null|array|object;
public function projectIdCatrobatGet(string $id, int &$responseCode, array &$responseHeaders): array|object|null;

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

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

/**
* Operation projectIdRecommendationsGet.
Expand All @@ -113,7 +113,7 @@ public function projectIdPut(string $id, UpdateProjectRequest $update_project_re
* @param int &$responseCode The HTTP Response Code
* @param array $responseHeaders Additional HTTP headers to return with the response ()
*/
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;
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;

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

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

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

/**
* Operation projectsGet.
Expand All @@ -182,7 +182,7 @@ public function projectsFeaturedGet(string $platform, string $max_version, int $
* @param int &$responseCode The HTTP Response Code
* @param array $responseHeaders Additional HTTP headers to return with the response ()
*/
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;
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;

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

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

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

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

/**
* Operation projectsUserIdGet.
Expand All @@ -255,5 +255,5 @@ public function projectsUserGet(string $max_version, int $limit, int $offset, st
* @param int &$responseCode The HTTP Response Code
* @param array $responseHeaders Additional HTTP headers to return with the response ()
*/
public function projectsUserIdGet(string $id, string $max_version, int $limit, int $offset, string $attributes, string $flavor, int &$responseCode, array &$responseHeaders): null|array|object;
public function projectsUserIdGet(string $id, string $max_version, int $limit, int $offset, string $attributes, string $flavor, int &$responseCode, array &$responseHeaders): array|object|null;
}
4 changes: 2 additions & 2 deletions Api/SearchApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.2.0
* The version of the OpenAPI document: v1.3.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down Expand Up @@ -52,5 +52,5 @@ interface SearchApiInterface
* @param int &$responseCode The HTTP Response Code
* @param array $responseHeaders Additional HTTP headers to return with the response ()
*/
public function searchGet(string $query, string $type, int $limit, int $offset, int &$responseCode, array &$responseHeaders): null|array|object;
public function searchGet(string $query, string $type, int $limit, int $offset, int &$responseCode, array &$responseHeaders): array|object|null;
}
Loading

0 comments on commit 9865459

Please sign in to comment.