-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #155 from Catrobat/create-pull-request/patch-17250…
…44207 Bump autogenerated OpenAPI code
- Loading branch information
Showing
119 changed files
with
2,141 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' 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' 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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
*/ | ||
|
@@ -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 | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
*/ | ||
|
Oops, something went wrong.