Skip to content

Commit

Permalink
Merge pull request #105 from Catrobat/create-pull-request/patch-16371…
Browse files Browse the repository at this point in the history
…68631

Bump autogenerated OpenAPI code
  • Loading branch information
dmetzner authored Nov 17, 2021
2 parents b30e50c + 4add184 commit 9668df4
Show file tree
Hide file tree
Showing 61 changed files with 236 additions and 460 deletions.
3 changes: 0 additions & 3 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ Model/SearchResponse.php
Model/SurveyResponse.php
Model/UpdateUserErrorResponse.php
Model/UpdateUserRequest.php
Model/UpdateUserRequestAllOf.php
Model/UpgradeTokenRequest.php
Model/UploadErrorResponse.php
OpenAPIServerBundle.php
Expand Down Expand Up @@ -85,7 +84,6 @@ Resources/docs/Model/SearchResponse.md
Resources/docs/Model/SurveyResponse.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 @@ -128,7 +126,6 @@ Tests/Model/RegisterRequestTest.php
Tests/Model/SearchResponseTest.php
Tests/Model/SurveyResponseTest.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 .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.1.0
5.3.0
1 change: 1 addition & 0 deletions .php-cs-fixer.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"php":"8.0.12","version":"3.2.1","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces":{"allow_single_line_anonymous_class_with_empty_body":true,"allow_single_line_closure":true},"class_definition":{"single_line":true},"constant_case":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ignore"},"no_break_comment":true,"no_closing_tag":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":true,"single_import_per_statement":true,"single_line_after_imports":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":true,"encoding":true,"full_opening_tag":true,"align_multiline_comment":true,"array_indentation":true,"blank_line_before_statement":{"statements":["return"]},"combine_consecutive_issets":true,"combine_consecutive_unsets":true,"empty_loop_body":{"style":"braces"},"escape_implicit_backslashes":true,"explicit_indirect_variable":true,"explicit_string_variable":true,"heredoc_to_nowdoc":true,"method_chaining_indentation":true,"multiline_comment_opening_closing":true,"multiline_whitespace_before_semicolons":{"strategy":"new_line_for_chained_calls"},"no_extra_blank_lines":{"tokens":["case","continue","curly_brace_block","default","extra","parenthesis_brace_block","square_brace_block","switch","throw","use"]},"no_null_property_initialization":true,"no_superfluous_elseif":true,"no_useless_else":true,"no_useless_return":true,"operator_linebreak":{"only_booleans":true},"ordered_class_elements":{"order":["use_trait"]},"php_unit_internal_class":true,"php_unit_test_class_requires_covers":true,"phpdoc_add_missing_param_annotation":true,"phpdoc_no_empty_return":true,"phpdoc_order":true,"phpdoc_order_by_value":true,"phpdoc_types_order":{"null_adjustment":"always_last","sort_algorithm":"none"},"phpdoc_var_annotation_correct_order":true,"return_assignment":true,"simple_to_complex_string_variable":true,"single_line_comment_style":{"comment_types":["hash"]},"single_line_throw":true,"array_syntax":true,"backtick_to_shell_exec":true,"binary_operator_spaces":true,"cast_spaces":true,"class_attributes_separation":{"elements":{"method":"one"}},"clean_namespace":true,"concat_space":true,"echo_tag_syntax":true,"empty_loop_condition":true,"fully_qualified_strict_types":true,"function_typehint_space":true,"general_phpdoc_tag_rename":{"replacements":{"inheritDocs":"inheritDoc"}},"include":true,"increment_style":true,"integer_literal_case":true,"lambda_not_used_import":true,"linebreak_after_opening_tag":true,"magic_constant_casing":true,"magic_method_casing":true,"native_function_casing":true,"native_function_type_declaration_casing":true,"no_alias_language_construct_call":true,"no_alternative_syntax":true,"no_binary_string":true,"no_blank_lines_after_phpdoc":true,"no_empty_comment":true,"no_empty_phpdoc":true,"no_empty_statement":true,"no_leading_namespace_whitespace":true,"no_mixed_echo_print":true,"no_multiline_whitespace_around_double_arrow":true,"no_short_bool_cast":true,"no_singleline_whitespace_before_semicolons":true,"no_spaces_around_offset":true,"no_superfluous_phpdoc_tags":{"allow_mixed":true,"allow_unused_params":true},"no_trailing_comma_in_list_call":true,"no_trailing_comma_in_singleline_array":true,"no_unneeded_control_parentheses":{"statements":["break","clone","continue","echo_print","return","switch_case","yield","yield_from"]},"no_unneeded_curly_braces":{"namespaces":true},"no_unset_cast":true,"no_unused_imports":true,"no_whitespace_before_comma_in_array":true,"normalize_index_brace":true,"object_operator_without_whitespace":true,"ordered_imports":true,"php_unit_fqcn_annotation":true,"php_unit_method_casing":true,"phpdoc_align":true,"phpdoc_annotation_without_dot":true,"phpdoc_indent":true,"phpdoc_inline_tag_normalizer":true,"phpdoc_no_access":true,"phpdoc_no_alias_tag":true,"phpdoc_no_package":true,"phpdoc_no_useless_inheritdoc":true,"phpdoc_return_self_reference":true,"phpdoc_scalar":true,"phpdoc_separation":true,"phpdoc_single_line_var_spacing":true,"phpdoc_summary":true,"phpdoc_tag_type":{"tags":{"inheritDoc":"inline"}},"phpdoc_to_comment":true,"phpdoc_trim":true,"phpdoc_trim_consecutive_blank_line_separation":true,"phpdoc_types":true,"phpdoc_var_without_name":true,"protected_to_private":true,"semicolon_after_instruction":true,"single_quote":true,"single_space_after_construct":true,"space_after_semicolon":{"remove_in_empty_for_expressions":true},"standardize_increment":true,"standardize_not_equals":true,"switch_continue_to_break":true,"trailing_comma_in_multiline":true,"trim_array_spaces":true,"types_spaces":true,"unary_operator_spaces":true,"whitespace_after_comma_in_array":true,"yoda_style":true,"blank_line_after_opening_tag":true,"compact_nullable_typehint":true,"declare_equal_normalize":true,"lowercase_cast":true,"lowercase_static_reference":true,"new_with_braces":true,"no_blank_lines_after_class_opening":true,"no_leading_import_slash":true,"no_whitespace_in_blank_line":true,"return_type_declaration":true,"short_scalar_cast":true,"single_blank_line_before_namespace":true,"single_trait_insert_per_statement":true,"ternary_operator_spaces":true,"doctrine_annotation_array_assignment":{"operator":":"},"doctrine_annotation_braces":true,"doctrine_annotation_indentation":true,"doctrine_annotation_spaces":{"before_array_assignments_colon":false},"strict_param":true},"hashes":{"Controller\/ProjectsController.php":124653850,"Controller\/Controller.php":3499380974,"Controller\/UserController.php":42480902,"Controller\/UtilityController.php":960316396,"Controller\/AuthenticationController.php":1702601514,"Controller\/SearchController.php":1592440057,"Controller\/NotificationsController.php":2674330806,"Controller\/MediaLibraryController.php":2646498635,"OpenAPIServerBundle.php":2744520825,"DependencyInjection\/Compiler\/OpenAPIServerApiPass.php":701675946,"DependencyInjection\/OpenAPIServerExtension.php":3585494554,"Api\/MediaLibraryApiInterface.php":2018714359,"Api\/ProjectsApiInterface.php":2236403173,"Api\/UserApiInterface.php":658559943,"Api\/NotificationsApiInterface.php":3266816958,"Api\/ApiServer.php":3037860931,"Api\/UtilityApiInterface.php":125954455,"Api\/SearchApiInterface.php":3530133770,"Api\/AuthenticationApiInterface.php":616459623,"Model\/NotificationsType.php":561812568,"Model\/NotificationContent.php":1740034419,"Model\/ProjectsCategory.php":1069875693,"Model\/RefreshRequest.php":1599739825,"Model\/ExtendedUserDataResponseAllOf.php":2466119716,"Model\/BasicUserDataResponse.php":2427988547,"Model\/UpdateUserRequest.php":965585957,"Model\/MediaCategoryResponse.php":2971424918,"Model\/SurveyResponse.php":171227397,"Model\/MediaFileResponse.php":3068847157,"Model\/RegisterRequest.php":3657000419,"Model\/NotificationResponse.php":1031038904,"Model\/ExtendedUserDataResponse.php":2490868110,"Model\/DryRun.php":2857791779,"Model\/NotificationsCountResponse.php":1495139175,"Model\/OAuthLoginRequest.php":3184711678,"Model\/RegisterErrorResponse.php":346992485,"Model\/UpdateUserErrorResponse.php":663801869,"Model\/JWTResponse.php":3051568311,"Model\/ProjectResponse.php":287217587,"Model\/SearchResponse.php":3141003882,"Model\/UploadErrorResponse.php":1663301839,"Model\/BaseUser.php":902264891,"Model\/UpgradeTokenRequest.php":725832399,"Model\/ProjectReportRequest.php":1513794994,"Model\/LoginRequest.php":2150359997,"Model\/MediaPackageResponse.php":1237187991,"Model\/FeaturedProjectResponse.php":2703153527,"Service\/StrictJsonDeserializationVisitor.php":347726109,"Service\/SerializerInterface.php":4201061557,"Service\/SymfonyValidator.php":862763093,"Service\/JmsSerializer.php":3900462519,"Service\/TypeMismatchException.php":269245387,"Service\/ValidatorInterface.php":556327333,"autoload.php":2852795188}}
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.62
* The version of the OpenAPI document: v1.0.63
* Contact: webmaster@catrobat.org
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
46 changes: 23 additions & 23 deletions 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.62
* The version of the OpenAPI document: v1.0.63
* Contact: webmaster@catrobat.org
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down Expand Up @@ -56,9 +56,9 @@ public function setPandaAuth($value);
*
* Expires refresh token
*
* @param string $x_refresh Refresh Token (required)
* @param int $responseCode The HTTP response code to return
* @param array $responseHeaders Additional HTTP headers to return with the response ()
* @param \string $x_refresh Refresh Token (required)
* @param \int $responseCode The HTTP response code to return
* @param \array $responseHeaders Additional HTTP headers to return with the response ()
*/
public function authenticationDelete(string $x_refresh, &$responseCode, array &$responseHeaders);

Expand All @@ -67,8 +67,8 @@ public function authenticationDelete(string $x_refresh, &$responseCode, array &$
*
* Check token
*
* @param int $responseCode The HTTP response code to return
* @param array $responseHeaders Additional HTTP headers to return with the response ()
* @param \int $responseCode The HTTP response code to return
* @param \array $responseHeaders Additional HTTP headers to return with the response ()
*/
public function authenticationGet(&$responseCode, array &$responseHeaders);

Expand All @@ -77,11 +77,11 @@ public function authenticationGet(&$responseCode, array &$responseHeaders);
*
* OAuth Login
*
* @param OpenAPI\Server\Model\OAuthLoginRequest $o_auth_login_request (required)
* @param int $responseCode The HTTP response code to return
* @param array $responseHeaders Additional HTTP headers to return with the response ()
* @param \OpenAPI\Server\Model\OAuthLoginRequest $o_auth_login_request (required)
* @param \int $responseCode The HTTP response code to return
* @param \array $responseHeaders Additional HTTP headers to return with the response ()
*
* @return OpenAPI\Server\Model\JWTResponse
* @return \OpenAPI\Server\Model\JWTResponse
*/
public function authenticationOauthPost(OAuthLoginRequest $o_auth_login_request, &$responseCode, array &$responseHeaders);

Expand All @@ -90,11 +90,11 @@ public function authenticationOauthPost(OAuthLoginRequest $o_auth_login_request,
*
* Login
*
* @param OpenAPI\Server\Model\LoginRequest $login_request (required)
* @param int $responseCode The HTTP response code to return
* @param array $responseHeaders Additional HTTP headers to return with the response ()
* @param \OpenAPI\Server\Model\LoginRequest $login_request (required)
* @param \int $responseCode The HTTP response code to return
* @param \array $responseHeaders Additional HTTP headers to return with the response ()
*
* @return OpenAPI\Server\Model\JWTResponse
* @return \OpenAPI\Server\Model\JWTResponse
*/
public function authenticationPost(LoginRequest $login_request, &$responseCode, array &$responseHeaders);

Expand All @@ -103,24 +103,24 @@ public function authenticationPost(LoginRequest $login_request, &$responseCode,
*
* Refresh token -- StatusCode: 501 - Not yet implemented
*
* @param OpenAPI\Server\Model\RefreshRequest $refresh_request (required)
* @param int $responseCode The HTTP response code to return
* @param array $responseHeaders Additional HTTP headers to return with the response ()
* @param \OpenAPI\Server\Model\RefreshRequest $refresh_request (required)
* @param \int $responseCode The HTTP response code to return
* @param \array $responseHeaders Additional HTTP headers to return with the response ()
*
* @return OpenAPI\Server\Model\JWTResponse
* @return \OpenAPI\Server\Model\JWTResponse
*/
public function authenticationRefreshPost(RefreshRequest $refresh_request, &$responseCode, array &$responseHeaders);

/**
* Operation authenticationUpgradePost.
*
* Upgrade a deprecated token -- StatusCode: 501 - Not yet implemented
* Upgrade a deprecated token to JWT
*
* @param OpenAPI\Server\Model\UpgradeTokenRequest $upgrade_token_request (required)
* @param int $responseCode The HTTP response code to return
* @param array $responseHeaders Additional HTTP headers to return with the response ()
* @param \OpenAPI\Server\Model\UpgradeTokenRequest $upgrade_token_request (required)
* @param \int $responseCode The HTTP response code to return
* @param \array $responseHeaders Additional HTTP headers to return with the response ()
*
* @return OpenAPI\Server\Model\JWTResponse
* @return \OpenAPI\Server\Model\JWTResponse
*/
public function authenticationUpgradePost(UpgradeTokenRequest $upgrade_token_request, &$responseCode, array &$responseHeaders);
}
50 changes: 25 additions & 25 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.62
* The version of the OpenAPI document: v1.0.63
* Contact: webmaster@catrobat.org
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down Expand Up @@ -44,11 +44,11 @@ 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 \int $responseCode The HTTP response code to return
* @param \array $responseHeaders Additional HTTP headers to return with the response ()
*
* @return OpenAPI\Server\Model\MediaFileResponse
* @return \OpenAPI\Server\Model\MediaFileResponse
*/
public function mediaFileIdGet(int $id, &$responseCode, array &$responseHeaders);

Expand All @@ -57,13 +57,13 @@ public function mediaFileIdGet(int $id, &$responseCode, array &$responseHeaders)
*
* Get *all* content of the media library.
*
* @param int $limit (optional, default to 20)
* @param int $offset (optional, default to 0)
* @param string $flavor (optional)
* @param int $responseCode The HTTP response code to return
* @param array $responseHeaders Additional HTTP headers to return with the response ()
* @param \int $limit (optional, default to 20)
* @param \int $offset (optional, default to 0)
* @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[]
* @return \OpenAPI\Server\Model\MediaFileResponse[]
*/
public function mediaFilesGet(int $limit = 20, int $offset = 0, string $flavor = null, &$responseCode, array &$responseHeaders);

Expand All @@ -72,15 +72,15 @@ public function mediaFilesGet(int $limit = 20, int $offset = 0, string $flavor =
*
* 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 $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 ()
* @param \string $query (required)
* @param \string $flavor (optional)
* @param \int $limit (optional, default to 20)
* @param \int $offset (optional, default to 0)
* @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[]
* @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);

Expand All @@ -89,13 +89,13 @@ public function mediaFilesSearchGet(string $query, string $flavor = null, int $l
*
* Get media-library asstes of a named package
*
* @param string $name Name of the package (required)
* @param int $limit (optional, default to 20)
* @param int $offset (optional, default to 0)
* @param int $responseCode The HTTP response code to return
* @param array $responseHeaders Additional HTTP headers to return with the response ()
* @param \string $name Name of the package (required)
* @param \int $limit (optional, default to 20)
* @param \int $offset (optional, default to 0)
* @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[]
* @return \OpenAPI\Server\Model\MediaFileResponse[]
*/
public function mediaPackageNameGet(string $name, int $limit = 20, int $offset = 0, &$responseCode, array &$responseHeaders);
}
Loading

0 comments on commit 9668df4

Please sign in to comment.