Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump autogenerated OpenAPI code #155

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Api/MediaLibraryApiInterface.php
Api/NotificationsApiInterface.php
Api/ProjectsApiInterface.php
Api/SearchApiInterface.php
Api/StudioApiInterface.php
Api/UserApiInterface.php
Api/UtilityApiInterface.php
Controller/AuthenticationController.php
Expand All @@ -15,12 +16,14 @@ Controller/MediaLibraryController.php
Controller/NotificationsController.php
Controller/ProjectsController.php
Controller/SearchController.php
Controller/StudioController.php
Controller/UserController.php
Controller/UtilityController.php
DependencyInjection/Compiler/OpenAPIServerApiPass.php
DependencyInjection/OpenAPIServerExtension.php
Model/BaseUser.php
Model/BasicUserDataResponse.php
Model/CreateStudioErrorResponse.php
Model/DryRun.php
Model/ExtendedUserDataResponse.php
Model/ExtensionResponse.php
Expand All @@ -43,11 +46,13 @@ Model/RegisterRequest.php
Model/ResetPasswordErrorResponse.php
Model/ResetPasswordRequest.php
Model/SearchResponse.php
Model/StudioResponse.php
Model/SurveyResponse.php
Model/TagResponse.php
Model/UpdateProjectErrorResponse.php
Model/UpdateProjectFailureResponse.php
Model/UpdateProjectRequest.php
Model/UpdateStudioErrorResponse.php
Model/UpdateUserErrorResponse.php
Model/UpdateUserRequest.php
Model/UpgradeTokenRequest.php
Expand All @@ -68,12 +73,14 @@ Tests/Api/MediaLibraryApiInterfaceTest.php
Tests/Api/NotificationsApiInterfaceTest.php
Tests/Api/ProjectsApiInterfaceTest.php
Tests/Api/SearchApiInterfaceTest.php
Tests/Api/StudioApiInterfaceTest.php
Tests/Api/UserApiInterfaceTest.php
Tests/Api/UtilityApiInterfaceTest.php
Tests/AppKernel.php
Tests/Controller/ControllerTest.php
Tests/Model/BaseUserTest.php
Tests/Model/BasicUserDataResponseTest.php
Tests/Model/CreateStudioErrorResponseTest.php
Tests/Model/DryRunTest.php
Tests/Model/ExtendedUserDataResponseTest.php
Tests/Model/ExtensionResponseTest.php
Expand All @@ -96,11 +103,13 @@ Tests/Model/RegisterRequestTest.php
Tests/Model/ResetPasswordErrorResponseTest.php
Tests/Model/ResetPasswordRequestTest.php
Tests/Model/SearchResponseTest.php
Tests/Model/StudioResponseTest.php
Tests/Model/SurveyResponseTest.php
Tests/Model/TagResponseTest.php
Tests/Model/UpdateProjectErrorResponseTest.php
Tests/Model/UpdateProjectFailureResponseTest.php
Tests/Model/UpdateProjectRequestTest.php
Tests/Model/UpdateStudioErrorResponseTest.php
Tests/Model/UpdateUserErrorResponseTest.php
Tests/Model/UpdateUserRequestTest.php
Tests/Model/UpgradeTokenRequestTest.php
Expand All @@ -112,10 +121,12 @@ docs/Api/MediaLibraryApiInterface.md
docs/Api/NotificationsApiInterface.md
docs/Api/ProjectsApiInterface.md
docs/Api/SearchApiInterface.md
docs/Api/StudioApiInterface.md
docs/Api/UserApiInterface.md
docs/Api/UtilityApiInterface.md
docs/Model/BaseUser.md
docs/Model/BasicUserDataResponse.md
docs/Model/CreateStudioErrorResponse.md
docs/Model/DryRun.md
docs/Model/ExtendedUserDataResponse.md
docs/Model/ExtensionResponse.md
Expand All @@ -138,11 +149,13 @@ docs/Model/RegisterRequest.md
docs/Model/ResetPasswordErrorResponse.md
docs/Model/ResetPasswordRequest.md
docs/Model/SearchResponse.md
docs/Model/StudioResponse.md
docs/Model/SurveyResponse.md
docs/Model/TagResponse.md
docs/Model/UpdateProjectErrorResponse.md
docs/Model/UpdateProjectFailureResponse.md
docs/Model/UpdateProjectRequest.md
docs/Model/UpdateStudioErrorResponse.md
docs/Model/UpdateUserErrorResponse.md
docs/Model/UpdateUserRequest.md
docs/Model/UpgradeTokenRequest.md
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.4.3
* The version of the OpenAPI document: v1.6.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 @@ -16,7 +16,7 @@
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.4.3
* The version of the OpenAPI document: v1.6.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion 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.4.3
* The version of the OpenAPI document: v1.6.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion 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.4.3
* The version of the OpenAPI document: v1.6.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion 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.4.3
* The version of the OpenAPI document: v1.6.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion 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.4.3
* The version of the OpenAPI document: v1.6.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
103 changes: 103 additions & 0 deletions Api/StudioApiInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
<?php
/**
* StudioApiInterface.
*
* PHP version 8.1.1
*
* @category Class
*
* @author OpenAPI Generator team
*
* @see https://github.com/openapitools/openapi-generator
*/

/**
* Catroweb API.
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.6.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

/**
* NOTE: This class is auto generated by the openapi generator program.
* https://github.com/openapitools/openapi-generator
* Do not edit the class manually.
*/

namespace OpenAPI\Server\Api;

use Symfony\Component\HttpFoundation\File\UploadedFile;

/**
* StudioApiInterface Interface Doc Comment.
*
* @category Interface
*
* @author OpenAPI Generator team
*
* @see https://github.com/openapitools/openapi-generator
*/
interface StudioApiInterface
{
/**
* Sets authentication method BearerAuth.
*
* @param string|null $value value of the BearerAuth authentication method
*/
public function setBearerAuth(?string $value): void;

/**
* Operation studioIdPut.
*
* Update a Studio
*
* @param string $id (required)
* @param string $accept_language (optional, default to 'en')
* @param string|null $name The name of the studio (character: min 3, max 180) (optional)
* @param string|null $description A small description about the Studio (character: min 1, max 3000) (optional)
* @param bool|null $is_public This flag sets the studios&#39; visibility to public or private (optional)
* @param bool|null $enable_comments This flag enables or disabled the possibility to add comments to the studio (optional)
* @param UploadedFile|null $image_file Cover image; Size limit 1MB; Supported extensions are jpeg, png, webp; (optional)
* @param int &$responseCode The HTTP Response Code
* @param array $responseHeaders Additional HTTP headers to return with the response ()
*/
public function studioIdPut(
string $id,
string $accept_language,
?string $name,
?string $description,
?bool $is_public,
?bool $enable_comments,
?UploadedFile $image_file,
int &$responseCode,
array &$responseHeaders
): array|object|null;

/**
* Operation studioPost.
*
* Create a new Studio
*
* @param string $accept_language (optional, default to 'en')
* @param string|null $name The name of the studio (character: min 3, max 180) (optional)
* @param string|null $description A small description about the Studio (character: min 1, max 3000) (optional)
* @param bool $is_public This flag sets the studios&#39; visibility to public or private (optional, default to true)
* @param bool $enable_comments This flag enables or disabled the possibility to add comments to the studio (optional, default to true)
* @param UploadedFile|null $image_file Cover image; Size limit 1MB; Supported extensions are jpeg, png, webp; (optional)
* @param int &$responseCode The HTTP Response Code
* @param array $responseHeaders Additional HTTP headers to return with the response ()
*/
public function studioPost(
string $accept_language,
?string $name,
?string $description,
bool $is_public,
bool $enable_comments,
?UploadedFile $image_file,
int &$responseCode,
array &$responseHeaders
): array|object|null;
}
2 changes: 1 addition & 1 deletion Api/UserApiInterface.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.4.3
* The version of the OpenAPI document: v1.6.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion Api/UtilityApiInterface.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.4.3
* The version of the OpenAPI document: v1.6.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion Controller/AuthenticationController.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.4.3
* The version of the OpenAPI document: v1.6.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
4 changes: 1 addition & 3 deletions Controller/Controller.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.4.3
* The version of the OpenAPI document: v1.6.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down Expand Up @@ -170,8 +170,6 @@ private function exceptionToArray(?\Throwable $exception = null): ?array

/**
* Converts an exception to a serializable array.
*
* @return ?string
*/
protected function getOutputFormat(string $accept, array $produced): ?string
{
Expand Down
2 changes: 1 addition & 1 deletion Controller/MediaLibraryController.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.4.3
* The version of the OpenAPI document: v1.6.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion Controller/NotificationsController.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.4.3
* The version of the OpenAPI document: v1.6.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion Controller/ProjectsController.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.4.3
* The version of the OpenAPI document: v1.6.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion Controller/SearchController.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.4.3
* The version of the OpenAPI document: v1.6.0
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
Loading
Loading