Skip to content

Commit

Permalink
Merge pull request #122 from Catrobat/create-pull-request/patch-16540…
Browse files Browse the repository at this point in the history
…25134

Bump autogenerated OpenAPI code
  • Loading branch information
dmetzner authored May 31, 2022
2 parents 6ea9f14 + ff7e202 commit 46c942c
Show file tree
Hide file tree
Showing 78 changed files with 1,855 additions and 151 deletions.
12 changes: 12 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,12 @@ Model/ResetPasswordRequest.php
Model/SearchResponse.php
Model/SurveyResponse.php
Model/TagResponse.php
Model/UpdateProjectErrorResponse.php
Model/UpdateProjectFailureResponse.php
Model/UpdateProjectRequest.php
Model/UpdateUserErrorResponse.php
Model/UpdateUserRequest.php
Model/UpdateUserRequestAllOf.php
Model/UpgradeTokenRequest.php
Model/UploadErrorResponse.php
OpenAPIServerBundle.php
Expand Down Expand Up @@ -90,8 +94,12 @@ Resources/docs/Model/ResetPasswordRequest.md
Resources/docs/Model/SearchResponse.md
Resources/docs/Model/SurveyResponse.md
Resources/docs/Model/TagResponse.md
Resources/docs/Model/UpdateProjectErrorResponse.md
Resources/docs/Model/UpdateProjectFailureResponse.md
Resources/docs/Model/UpdateProjectRequest.md
Resources/docs/Model/UpdateUserErrorResponse.md
Resources/docs/Model/UpdateUserRequest.md
Resources/docs/Model/UpdateUserRequestAllOf.md
Resources/docs/Model/UpgradeTokenRequest.md
Resources/docs/Model/UploadErrorResponse.md
Service/JmsSerializer.php
Expand Down Expand Up @@ -137,7 +145,11 @@ Tests/Model/ResetPasswordRequestTest.php
Tests/Model/SearchResponseTest.php
Tests/Model/SurveyResponseTest.php
Tests/Model/TagResponseTest.php
Tests/Model/UpdateProjectErrorResponseTest.php
Tests/Model/UpdateProjectFailureResponseTest.php
Tests/Model/UpdateProjectRequestTest.php
Tests/Model/UpdateUserErrorResponseTest.php
Tests/Model/UpdateUserRequestAllOfTest.php
Tests/Model/UpdateUserRequestTest.php
Tests/Model/UpgradeTokenRequestTest.php
Tests/Model/UploadErrorResponseTest.php
Expand Down
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.0.74
* The version of the OpenAPI document: v1.1.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion Api/AuthenticationApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.0.74
* The version of the OpenAPI document: v1.1.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
22 changes: 13 additions & 9 deletions Api/MediaLibraryApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.0.74
* The version of the OpenAPI document: v1.1.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down Expand Up @@ -44,13 +44,14 @@ interface MediaLibraryApiInterface
*
* Get the information of a specific media file
*
* @param \int $id ID of any given media file (required)
* @param \int $responseCode The HTTP response code to return
* @param \array $responseHeaders Additional HTTP headers to return with the response ()
* @param \int $id ID of any given media file (required)
* @param \string $attributes (optional)
* @param \int $responseCode The HTTP response code to return
* @param \array $responseHeaders Additional HTTP headers to return with the response ()
*
* @return \OpenAPI\Server\Model\MediaFileResponse
*/
public function mediaFileIdGet(int $id, &$responseCode, array &$responseHeaders);
public function mediaFileIdGet(int $id, string $attributes = null, &$responseCode, array &$responseHeaders);

/**
* Operation mediaFilesGet.
Expand All @@ -59,30 +60,32 @@ public function mediaFileIdGet(int $id, &$responseCode, array &$responseHeaders)
*
* @param \int $limit (optional, default to 20)
* @param \int $offset (optional, default to 0)
* @param \string $attributes (optional)
* @param \string $flavor (optional)
* @param \int $responseCode The HTTP response code to return
* @param \array $responseHeaders Additional HTTP headers to return with the response ()
*
* @return \OpenAPI\Server\Model\MediaFileResponse[]
*/
public function mediaFilesGet(int $limit = 20, int $offset = 0, string $flavor = null, &$responseCode, array &$responseHeaders);
public function mediaFilesGet(int $limit = 20, int $offset = 0, string $attributes = null, string $flavor = null, &$responseCode, array &$responseHeaders);

/**
* Operation mediaFilesSearchGet.
*
* Search for mediafiles associated with keywords
*
* @param \string $query (required)
* @param \string $flavor (optional)
* @param \int $limit (optional, default to 20)
* @param \int $offset (optional, default to 0)
* @param \string $attributes (optional)
* @param \string $flavor (optional)
* @param \string $package_name In which package you want to search (for more fine tuned results) (optional)
* @param \int $responseCode The HTTP response code to return
* @param \array $responseHeaders Additional HTTP headers to return with the response ()
*
* @return \OpenAPI\Server\Model\MediaFileResponse[]
*/
public function mediaFilesSearchGet(string $query, string $flavor = null, int $limit = 20, int $offset = 0, string $package_name = null, &$responseCode, array &$responseHeaders);
public function mediaFilesSearchGet(string $query, int $limit = 20, int $offset = 0, string $attributes = null, string $flavor = null, string $package_name = null, &$responseCode, array &$responseHeaders);

/**
* Operation mediaPackageNameGet.
Expand All @@ -92,10 +95,11 @@ public function mediaFilesSearchGet(string $query, string $flavor = null, int $l
* @param \string $name Name of the package (required)
* @param \int $limit (optional, default to 20)
* @param \int $offset (optional, default to 0)
* @param \string $attributes (optional)
* @param \int $responseCode The HTTP response code to return
* @param \array $responseHeaders Additional HTTP headers to return with the response ()
*
* @return \OpenAPI\Server\Model\MediaFileResponse[]
*/
public function mediaPackageNameGet(string $name, int $limit = 20, int $offset = 0, &$responseCode, array &$responseHeaders);
public function mediaPackageNameGet(string $name, int $limit = 20, int $offset = 0, string $attributes = null, &$responseCode, array &$responseHeaders);
}
11 changes: 6 additions & 5 deletions Api/NotificationsApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.0.74
* The version of the OpenAPI document: v1.1.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down Expand Up @@ -51,7 +51,7 @@ public function setPandaAuth($value);
/**
* Operation notificationIdReadPut.
*
* Mark specified notification as read - StatusCode: 501 - Not yet implemented
* Mark specified notification as read
*
* @param \int $id (required)
* @param \string $accept_language (optional)
Expand All @@ -63,7 +63,7 @@ public function notificationIdReadPut(int $id, string $accept_language = null, &
/**
* Operation notificationsCountGet.
*
* Count the number of unseen notifications -- StatusCode: 501 - Not yet implemented
* Count the number of unseen notifications
*
* @param \int $responseCode The HTTP response code to return
* @param \array $responseHeaders Additional HTTP headers to return with the response ()
Expand All @@ -80,18 +80,19 @@ public function notificationsCountGet(&$responseCode, array &$responseHeaders);
* @param \string $accept_language (optional)
* @param \int $limit (optional, default to 20)
* @param \int $offset (optional, default to 0)
* @param \string $attributes (optional)
* @param \OpenAPI\Server\Model\NotificationsType $type (optional)
* @param \int $responseCode The HTTP response code to return
* @param \array $responseHeaders Additional HTTP headers to return with the response ()
*
* @return \OpenAPI\Server\Model\NotificationResponse[]
*/
public function notificationsGet(string $accept_language = null, int $limit = 20, int $offset = 0, NotificationsType $type = null, &$responseCode, array &$responseHeaders);
public function notificationsGet(string $accept_language = null, int $limit = 20, int $offset = 0, string $attributes = null, NotificationsType $type = null, &$responseCode, array &$responseHeaders);

/**
* Operation notificationsReadPut.
*
* Mark all notifications as read -- StatusCode: 501 - Not yet implemented
* Mark all notifications as read
*
* @param \int $responseCode The HTTP response code to return
* @param \array $responseHeaders Additional HTTP headers to return with the response ()
Expand Down
38 changes: 30 additions & 8 deletions Api/ProjectsApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.0.74
* The version of the OpenAPI document: v1.1.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand All @@ -29,6 +29,7 @@
namespace OpenAPI\Server\Api;

use OpenAPI\Server\Model\ProjectReportRequest;
use OpenAPI\Server\Model\UpdateProjectRequest;
use Symfony\Component\HttpFoundation\File\UploadedFile;

/**
Expand Down Expand Up @@ -65,7 +66,7 @@ public function projectIdCatrobatGet(string $id, &$responseCode, array &$respons
/**
* Operation projectIdDelete.
*
* Delete a project -- StatusCode: 501 - Not yet implemented
* Delete a project
*
* @param \string $id (required)
* @param \int $responseCode The HTTP response code to return
Expand All @@ -86,6 +87,21 @@ public function projectIdDelete(string $id, &$responseCode, array &$responseHead
*/
public function projectIdGet(string $id, &$responseCode, array &$responseHeaders);

/**
* Operation projectIdPut.
*
* Update details of a project
*
* @param \string $id (required)
* @param \OpenAPI\Server\Model\UpdateProjectRequest $update_project_request (required)
* @param \string $accept_language (optional)
* @param \int $responseCode The HTTP response code to return
* @param \array $responseHeaders Additional HTTP headers to return with the response ()
*
* @return \array
*/
public function projectIdPut(string $id, UpdateProjectRequest $update_project_request, string $accept_language = null, &$responseCode, array &$responseHeaders);

/**
* Operation projectIdRecommendationsGet.
*
Expand All @@ -97,13 +113,14 @@ public function projectIdGet(string $id, &$responseCode, array &$responseHeaders
* @param \string $max_version Only shows project with a smaller version number than max version. `Warning!` Current implementation is kinda broken. To ensure correct results use the following format '[0-9].[0-9]{3}' (optional)
* @param \int $limit (optional, default to 20)
* @param \int $offset (optional, default to 0)
* @param \string $attributes (optional)
* @param \string $flavor (optional)
* @param \int $responseCode The HTTP response code to return
* @param \array $responseHeaders Additional HTTP headers to return with the response ()
*
* @return \OpenAPI\Server\Model\ProjectResponse[]
*/
public function projectIdRecommendationsGet(string $id, string $category, string $accept_language = null, string $max_version = null, int $limit = 20, int $offset = 0, string $flavor = null, &$responseCode, array &$responseHeaders);
public function projectIdRecommendationsGet(string $id, string $category, string $accept_language = null, string $max_version = null, int $limit = 20, int $offset = 0, string $attributes = null, string $flavor = null, &$responseCode, array &$responseHeaders);

/**
* Operation projectIdReportPost.
Expand Down Expand Up @@ -154,13 +171,14 @@ public function projectsExtensionsGet(string $accept_language = null, &$response
* @param \string $max_version Only shows project with a smaller version number than max version. `Warning!` Current implementation is kinda broken. To ensure correct results use the following format '[0-9].[0-9]{3}' (optional)
* @param \int $limit (optional, default to 20)
* @param \int $offset (optional, default to 0)
* @param \string $attributes (optional)
* @param \string $flavor (optional)
* @param \int $responseCode The HTTP response code to return
* @param \array $responseHeaders Additional HTTP headers to return with the response ()
*
* @return \OpenAPI\Server\Model\FeaturedProjectResponse[]
*/
public function projectsFeaturedGet(string $platform = null, string $max_version = null, int $limit = 20, int $offset = 0, string $flavor = null, &$responseCode, array &$responseHeaders);
public function projectsFeaturedGet(string $platform = null, string $max_version = null, int $limit = 20, int $offset = 0, string $attributes = null, string $flavor = null, &$responseCode, array &$responseHeaders);

/**
* Operation projectsGet.
Expand All @@ -172,13 +190,14 @@ public function projectsFeaturedGet(string $platform = null, string $max_version
* @param \string $max_version Only shows project with a smaller version number than max version. `Warning!` Current implementation is kinda broken. To ensure correct results use the following format '[0-9].[0-9]{3}' (optional)
* @param \int $limit (optional, default to 20)
* @param \int $offset (optional, default to 0)
* @param \string $attributes (optional)
* @param \string $flavor (optional)
* @param \int $responseCode The HTTP response code to return
* @param \array $responseHeaders Additional HTTP headers to return with the response ()
*
* @return \OpenAPI\Server\Model\ProjectResponse[]
*/
public function projectsGet(string $category, string $accept_language = null, string $max_version = null, int $limit = 20, int $offset = 0, string $flavor = null, &$responseCode, array &$responseHeaders);
public function projectsGet(string $category, string $accept_language = null, string $max_version = null, int $limit = 20, int $offset = 0, string $attributes = null, string $flavor = null, &$responseCode, array &$responseHeaders);

/**
* Operation projectsPost.
Expand Down Expand Up @@ -206,13 +225,14 @@ public function projectsPost(string $checksum, UploadedFile $file, string $accep
* @param \string $max_version Only shows project with a smaller version number than max version. `Warning!` Current implementation is kinda broken. To ensure correct results use the following format '[0-9].[0-9]{3}' (optional)
* @param \int $limit (optional, default to 20)
* @param \int $offset (optional, default to 0)
* @param \string $attributes (optional)
* @param \string $flavor (optional)
* @param \int $responseCode The HTTP response code to return
* @param \array $responseHeaders Additional HTTP headers to return with the response ()
*
* @return \OpenAPI\Server\Model\ProjectResponse[]
*/
public function projectsSearchGet(string $query, string $max_version = null, int $limit = 20, int $offset = 0, string $flavor = null, &$responseCode, array &$responseHeaders);
public function projectsSearchGet(string $query, string $max_version = null, int $limit = 20, int $offset = 0, string $attributes = null, string $flavor = null, &$responseCode, array &$responseHeaders);

/**
* Operation projectsTagsGet.
Expand All @@ -235,13 +255,14 @@ public function projectsTagsGet(string $accept_language = null, &$responseCode,
* @param \string $max_version Only shows project with a smaller version number than max version. `Warning!` Current implementation is kinda broken. To ensure correct results use the following format '[0-9].[0-9]{3}' (optional)
* @param \int $limit (optional, default to 20)
* @param \int $offset (optional, default to 0)
* @param \string $attributes (optional)
* @param \string $flavor (optional)
* @param \int $responseCode The HTTP response code to return
* @param \array $responseHeaders Additional HTTP headers to return with the response ()
*
* @return \OpenAPI\Server\Model\ProjectResponse[]
*/
public function projectsUserGet(string $max_version = null, int $limit = 20, int $offset = 0, string $flavor = null, &$responseCode, array &$responseHeaders);
public function projectsUserGet(string $max_version = null, int $limit = 20, int $offset = 0, string $attributes = null, string $flavor = null, &$responseCode, array &$responseHeaders);

/**
* Operation projectsUserIdGet.
Expand All @@ -252,11 +273,12 @@ public function projectsUserGet(string $max_version = null, int $limit = 20, int
* @param \string $max_version Only shows project with a smaller version number than max version. `Warning!` Current implementation is kinda broken. To ensure correct results use the following format '[0-9].[0-9]{3}' (optional)
* @param \int $limit (optional, default to 20)
* @param \int $offset (optional, default to 0)
* @param \string $attributes (optional)
* @param \string $flavor (optional)
* @param \int $responseCode The HTTP response code to return
* @param \array $responseHeaders Additional HTTP headers to return with the response ()
*
* @return \OpenAPI\Server\Model\ProjectResponse[]
*/
public function projectsUserIdGet(string $id, string $max_version = null, int $limit = 20, int $offset = 0, string $flavor = null, &$responseCode, array &$responseHeaders);
public function projectsUserIdGet(string $id, string $max_version = null, int $limit = 20, int $offset = 0, string $attributes = null, string $flavor = null, &$responseCode, array &$responseHeaders);
}
4 changes: 2 additions & 2 deletions Api/SearchApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.0.74
* The version of the OpenAPI document: v1.1.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand All @@ -42,7 +42,7 @@ interface SearchApiInterface
/**
* Operation searchGet.
*
* Search for projects, users,.. -- StatusCode: 501 - Not yet implemented
* Search for projects, users,..
*
* @param \string $query (required)
* @param \string $type (optional)
Expand Down
5 changes: 3 additions & 2 deletions Api/UserApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.0.74
* The version of the OpenAPI document: v1.1.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down Expand Up @@ -135,10 +135,11 @@ public function userResetPasswordPost(ResetPasswordRequest $reset_password_reque
* @param \string $query (required)
* @param \int $limit (optional, default to 20)
* @param \int $offset (optional, default to 0)
* @param \string $attributes (optional)
* @param \int $responseCode The HTTP response code to return
* @param \array $responseHeaders Additional HTTP headers to return with the response ()
*
* @return \OpenAPI\Server\Model\BasicUserDataResponse[]
*/
public function usersSearchGet(string $query, int $limit = 20, int $offset = 0, &$responseCode, array &$responseHeaders);
public function usersSearchGet(string $query, int $limit = 20, int $offset = 0, string $attributes = null, &$responseCode, array &$responseHeaders);
}
2 changes: 1 addition & 1 deletion Api/UtilityApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.0.74
* The version of the OpenAPI document: v1.1.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
Loading

0 comments on commit 46c942c

Please sign in to comment.