forgejo 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/LICENSE +9 -0
- data/LICENSE~ +9 -0
- data/Makefile +23 -0
- data/Makefile~ +2 -0
- data/README.md +717 -0
- data/Rakefile +10 -0
- data/docs/APIError.md +20 -0
- data/docs/AccessToken.md +26 -0
- data/docs/ActionTask.md +42 -0
- data/docs/ActionTaskResponse.md +20 -0
- data/docs/ActionVariable.md +24 -0
- data/docs/Activity.md +42 -0
- data/docs/ActivityPub.md +18 -0
- data/docs/ActivitypubApi.md +289 -0
- data/docs/AddCollaboratorOption.md +18 -0
- data/docs/AddTimeOption.md +22 -0
- data/docs/AdminApi.md +1672 -0
- data/docs/AnnotatedTag.md +32 -0
- data/docs/AnnotatedTagObject.md +22 -0
- data/docs/Attachment.md +30 -0
- data/docs/BlockedUser.md +20 -0
- data/docs/Branch.md +34 -0
- data/docs/BranchProtection.md +70 -0
- data/docs/ChangeFileOperation.md +26 -0
- data/docs/ChangeFilesOptions.md +32 -0
- data/docs/ChangedFile.md +34 -0
- data/docs/CombinedStatus.md +30 -0
- data/docs/Comment.md +38 -0
- data/docs/Commit.md +36 -0
- data/docs/CommitAffectedFiles.md +20 -0
- data/docs/CommitDateOptions.md +20 -0
- data/docs/CommitMeta.md +22 -0
- data/docs/CommitStats.md +22 -0
- data/docs/CommitStatus.md +34 -0
- data/docs/CommitUser.md +22 -0
- data/docs/Compare.md +20 -0
- data/docs/ContentsResponse.md +46 -0
- data/docs/CreateAccessTokenOption.md +20 -0
- data/docs/CreateBranchProtectionOption.md +66 -0
- data/docs/CreateBranchRepoOption.md +22 -0
- data/docs/CreateEmailOption.md +18 -0
- data/docs/CreateFileOptions.md +32 -0
- data/docs/CreateForkOption.md +20 -0
- data/docs/CreateGPGKeyOption.md +20 -0
- data/docs/CreateHookOption.md +28 -0
- data/docs/CreateIssueCommentOption.md +20 -0
- data/docs/CreateIssueOption.md +34 -0
- data/docs/CreateKeyOption.md +22 -0
- data/docs/CreateLabelOption.md +26 -0
- data/docs/CreateMilestoneOption.md +24 -0
- data/docs/CreateOAuth2ApplicationOptions.md +22 -0
- data/docs/CreateOrUpdateSecretOption.md +18 -0
- data/docs/CreateOrgOption.md +32 -0
- data/docs/CreatePullRequestOption.md +34 -0
- data/docs/CreatePullReviewComment.md +24 -0
- data/docs/CreatePullReviewOptions.md +24 -0
- data/docs/CreatePushMirrorOption.md +26 -0
- data/docs/CreateReleaseOption.md +30 -0
- data/docs/CreateRepoOption.md +40 -0
- data/docs/CreateStatusOption.md +24 -0
- data/docs/CreateTagOption.md +22 -0
- data/docs/CreateTagProtectionOption.md +22 -0
- data/docs/CreateTeamOption.md +30 -0
- data/docs/CreateUserOption.md +38 -0
- data/docs/CreateVariableOption.md +18 -0
- data/docs/CreateWikiPageOptions.md +22 -0
- data/docs/Cron.md +26 -0
- data/docs/DeleteEmailOption.md +18 -0
- data/docs/DeleteFileOptions.md +32 -0
- data/docs/DeleteLabelsOption.md +18 -0
- data/docs/DeployKey.md +34 -0
- data/docs/DismissPullReviewOptions.md +20 -0
- data/docs/DispatchWorkflowOption.md +20 -0
- data/docs/EditAttachmentOptions.md +18 -0
- data/docs/EditBranchProtectionOption.md +62 -0
- data/docs/EditDeadlineOption.md +18 -0
- data/docs/EditGitHookOption.md +18 -0
- data/docs/EditHookOption.md +26 -0
- data/docs/EditIssueCommentOption.md +20 -0
- data/docs/EditIssueOption.md +36 -0
- data/docs/EditLabelOption.md +26 -0
- data/docs/EditMilestoneOption.md +24 -0
- data/docs/EditOrgOption.md +30 -0
- data/docs/EditPullRequestOption.md +38 -0
- data/docs/EditReactionOption.md +18 -0
- data/docs/EditReleaseOption.md +30 -0
- data/docs/EditRepoOption.md +82 -0
- data/docs/EditTagProtectionOption.md +22 -0
- data/docs/EditTeamOption.md +30 -0
- data/docs/EditUserOption.md +54 -0
- data/docs/Email.md +26 -0
- data/docs/ExternalTracker.md +24 -0
- data/docs/ExternalWiki.md +18 -0
- data/docs/FileCommitResponse.md +34 -0
- data/docs/FileDeleteResponse.md +22 -0
- data/docs/FileLinksResponse.md +22 -0
- data/docs/FileResponse.md +22 -0
- data/docs/FilesResponse.md +22 -0
- data/docs/GPGKey.md +42 -0
- data/docs/GPGKeyEmail.md +20 -0
- data/docs/GeneralAPISettings.md +24 -0
- data/docs/GeneralAttachmentSettings.md +24 -0
- data/docs/GeneralRepoSettings.md +30 -0
- data/docs/GeneralUISettings.md +22 -0
- data/docs/GenerateRepoOption.md +40 -0
- data/docs/GitBlobResponse.md +26 -0
- data/docs/GitEntry.md +28 -0
- data/docs/GitHook.md +22 -0
- data/docs/GitObject.md +22 -0
- data/docs/GitTreeResponse.md +28 -0
- data/docs/GitignoreTemplateInfo.md +20 -0
- data/docs/Hook.md +40 -0
- data/docs/Identity.md +20 -0
- data/docs/InternalTracker.md +22 -0
- data/docs/Issue.md +66 -0
- data/docs/IssueApi.md +5206 -0
- data/docs/IssueConfig.md +20 -0
- data/docs/IssueConfigContactLink.md +22 -0
- data/docs/IssueConfigValidation.md +20 -0
- data/docs/IssueDeadline.md +18 -0
- data/docs/IssueFormField.md +26 -0
- data/docs/IssueLabelsOption.md +20 -0
- data/docs/IssueMeta.md +22 -0
- data/docs/IssueTemplate.md +32 -0
- data/docs/Label.md +30 -0
- data/docs/LabelTemplate.md +24 -0
- data/docs/LicenseTemplateInfo.md +26 -0
- data/docs/LicensesTemplateListEntry.md +22 -0
- data/docs/MarkdownOption.md +24 -0
- data/docs/MarkupOption.md +26 -0
- data/docs/MergePullRequestOption.md +32 -0
- data/docs/MigrateRepoOptions.md +56 -0
- data/docs/Milestone.md +36 -0
- data/docs/MiscellaneousApi.md +833 -0
- data/docs/NewIssuePinsAllowed.md +20 -0
- data/docs/NodeInfo.md +30 -0
- data/docs/NodeInfoServices.md +20 -0
- data/docs/NodeInfoSoftware.md +24 -0
- data/docs/NodeInfoUsage.md +22 -0
- data/docs/NodeInfoUsageUsers.md +22 -0
- data/docs/Note.md +20 -0
- data/docs/NotificationApi.md +550 -0
- data/docs/NotificationCount.md +18 -0
- data/docs/NotificationSubject.md +30 -0
- data/docs/NotificationThread.md +30 -0
- data/docs/OAuth2Application.md +30 -0
- data/docs/Organization.md +38 -0
- data/docs/OrganizationApi.md +4259 -0
- data/docs/OrganizationPermissions.md +26 -0
- data/docs/PRBranchInfo.md +26 -0
- data/docs/Package.md +34 -0
- data/docs/PackageApi.md +314 -0
- data/docs/PackageFile.md +30 -0
- data/docs/PayloadCommit.md +36 -0
- data/docs/PayloadCommitVerification.md +26 -0
- data/docs/PayloadUser.md +22 -0
- data/docs/Permission.md +22 -0
- data/docs/PublicKey.md +34 -0
- data/docs/PullRequest.md +88 -0
- data/docs/PullRequestMeta.md +24 -0
- data/docs/PullReview.md +44 -0
- data/docs/PullReviewComment.md +46 -0
- data/docs/PullReviewRequestOptions.md +20 -0
- data/docs/PushMirror.md +32 -0
- data/docs/Reaction.md +22 -0
- data/docs/Reference.md +22 -0
- data/docs/Release.md +52 -0
- data/docs/RenameUserOption.md +18 -0
- data/docs/ReplaceFlagsOption.md +18 -0
- data/docs/RepoCollaboratorPermission.md +22 -0
- data/docs/RepoCommit.md +28 -0
- data/docs/RepoCreateReleaseAttachmentRequest.md +18 -0
- data/docs/RepoTopicOptions.md +18 -0
- data/docs/RepoTransfer.md +22 -0
- data/docs/Repository.md +140 -0
- data/docs/RepositoryApi.md +13022 -0
- data/docs/RepositoryMeta.md +24 -0
- data/docs/SearchResults.md +20 -0
- data/docs/Secret.md +20 -0
- data/docs/ServerVersion.md +18 -0
- data/docs/SettingsApi.md +275 -0
- data/docs/StopWatch.md +30 -0
- data/docs/SubmitPullReviewOptions.md +20 -0
- data/docs/Tag.md +30 -0
- data/docs/TagArchiveDownloadCount.md +20 -0
- data/docs/TagProtection.md +28 -0
- data/docs/Team.md +34 -0
- data/docs/TeamSearch200Response.md +20 -0
- data/docs/TimelineComment.md +74 -0
- data/docs/TopicName.md +18 -0
- data/docs/TopicResponse.md +26 -0
- data/docs/TrackedTime.md +30 -0
- data/docs/TransferRepoOption.md +20 -0
- data/docs/UpdateFileOptions.md +36 -0
- data/docs/UpdateRepoAvatarOption.md +18 -0
- data/docs/UpdateUserAvatarOption.md +18 -0
- data/docs/UpdateVariableOption.md +20 -0
- data/docs/User.md +62 -0
- data/docs/UserApi.md +4969 -0
- data/docs/UserHeatmapData.md +20 -0
- data/docs/UserSearch200Response.md +20 -0
- data/docs/UserSettings.md +38 -0
- data/docs/UserSettingsOptions.md +38 -0
- data/docs/WatchInfo.md +28 -0
- data/docs/WikiCommit.md +24 -0
- data/docs/WikiCommitList.md +20 -0
- data/docs/WikiPage.md +32 -0
- data/docs/WikiPageMetaData.md +24 -0
- data/forgejo.gemspec +49 -0
- data/git_push.sh +57 -0
- data/lib/forgejo/api/activitypub_api.rb +269 -0
- data/lib/forgejo/api/admin_api.rb +1496 -0
- data/lib/forgejo/api/issue_api.rb +5282 -0
- data/lib/forgejo/api/miscellaneous_api.rb +725 -0
- data/lib/forgejo/api/notification_api.rb +520 -0
- data/lib/forgejo/api/organization_api.rb +3898 -0
- data/lib/forgejo/api/package_api.rb +334 -0
- data/lib/forgejo/api/repository_api.rb +12849 -0
- data/lib/forgejo/api/settings_api.rb +242 -0
- data/lib/forgejo/api/user_api.rb +4314 -0
- data/lib/forgejo/api_client.rb +437 -0
- data/lib/forgejo/api_error.rb +58 -0
- data/lib/forgejo/configuration.rb +392 -0
- data/lib/forgejo/models/access_token.rb +252 -0
- data/lib/forgejo/models/action_task.rb +323 -0
- data/lib/forgejo/models/action_task_response.rb +226 -0
- data/lib/forgejo/models/action_variable.rb +246 -0
- data/lib/forgejo/models/activity.rb +357 -0
- data/lib/forgejo/models/activity_pub.rb +215 -0
- data/lib/forgejo/models/add_collaborator_option.rb +215 -0
- data/lib/forgejo/models/add_time_option.rb +242 -0
- data/lib/forgejo/models/annotated_tag.rb +278 -0
- data/lib/forgejo/models/annotated_tag_object.rb +233 -0
- data/lib/forgejo/models/api_error.rb +224 -0
- data/lib/forgejo/models/attachment.rb +269 -0
- data/lib/forgejo/models/blocked_user.rb +223 -0
- data/lib/forgejo/models/branch.rb +289 -0
- data/lib/forgejo/models/branch_protection.rb +464 -0
- data/lib/forgejo/models/change_file_operation.rb +304 -0
- data/lib/forgejo/models/change_files_options.rb +292 -0
- data/lib/forgejo/models/changed_file.rb +287 -0
- data/lib/forgejo/models/combined_status.rb +272 -0
- data/lib/forgejo/models/comment.rb +307 -0
- data/lib/forgejo/models/commit.rb +299 -0
- data/lib/forgejo/models/commit_affected_files.rb +224 -0
- data/lib/forgejo/models/commit_date_options.rb +224 -0
- data/lib/forgejo/models/commit_meta.rb +232 -0
- data/lib/forgejo/models/commit_stats.rb +233 -0
- data/lib/forgejo/models/commit_status.rb +288 -0
- data/lib/forgejo/models/commit_user.rb +232 -0
- data/lib/forgejo/models/compare.rb +225 -0
- data/lib/forgejo/models/contents_response.rb +346 -0
- data/lib/forgejo/models/create_access_token_option.rb +233 -0
- data/lib/forgejo/models/create_branch_protection_option.rb +446 -0
- data/lib/forgejo/models/create_branch_repo_option.rb +243 -0
- data/lib/forgejo/models/create_email_option.rb +218 -0
- data/lib/forgejo/models/create_file_options.rb +290 -0
- data/lib/forgejo/models/create_fork_option.rb +226 -0
- data/lib/forgejo/models/create_gpg_key_option.rb +232 -0
- data/lib/forgejo/models/create_hook_option.rb +315 -0
- data/lib/forgejo/models/create_issue_comment_option.rb +231 -0
- data/lib/forgejo/models/create_issue_option.rb +301 -0
- data/lib/forgejo/models/create_key_option.rb +250 -0
- data/lib/forgejo/models/create_label_option.rb +265 -0
- data/lib/forgejo/models/create_milestone_option.rb +276 -0
- data/lib/forgejo/models/create_o_auth2_application_options.rb +235 -0
- data/lib/forgejo/models/create_or_update_secret_option.rb +223 -0
- data/lib/forgejo/models/create_org_option.rb +320 -0
- data/lib/forgejo/models/create_pull_request_option.rb +291 -0
- data/lib/forgejo/models/create_pull_review_comment.rb +245 -0
- data/lib/forgejo/models/create_pull_review_options.rb +245 -0
- data/lib/forgejo/models/create_push_mirror_option.rb +250 -0
- data/lib/forgejo/models/create_release_option.rb +276 -0
- data/lib/forgejo/models/create_repo_option.rb +379 -0
- data/lib/forgejo/models/create_status_option.rb +243 -0
- data/lib/forgejo/models/create_tag_option.rb +240 -0
- data/lib/forgejo/models/create_tag_protection_option.rb +237 -0
- data/lib/forgejo/models/create_team_option.rb +314 -0
- data/lib/forgejo/models/create_user_option.rb +320 -0
- data/lib/forgejo/models/create_variable_option.rb +223 -0
- data/lib/forgejo/models/create_wiki_page_options.rb +236 -0
- data/lib/forgejo/models/cron.rb +251 -0
- data/lib/forgejo/models/delete_email_option.rb +218 -0
- data/lib/forgejo/models/delete_file_options.rb +290 -0
- data/lib/forgejo/models/delete_labels_option.rb +215 -0
- data/lib/forgejo/models/deploy_key.rb +287 -0
- data/lib/forgejo/models/dismiss_pull_review_options.rb +224 -0
- data/lib/forgejo/models/dispatch_workflow_option.rb +235 -0
- data/lib/forgejo/models/edit_attachment_options.rb +215 -0
- data/lib/forgejo/models/edit_branch_protection_option.rb +427 -0
- data/lib/forgejo/models/edit_deadline_option.rb +222 -0
- data/lib/forgejo/models/edit_git_hook_option.rb +215 -0
- data/lib/forgejo/models/edit_hook_option.rb +255 -0
- data/lib/forgejo/models/edit_issue_comment_option.rb +231 -0
- data/lib/forgejo/models/edit_issue_option.rb +299 -0
- data/lib/forgejo/models/edit_label_option.rb +251 -0
- data/lib/forgejo/models/edit_milestone_option.rb +242 -0
- data/lib/forgejo/models/edit_org_option.rb +304 -0
- data/lib/forgejo/models/edit_pull_request_option.rb +309 -0
- data/lib/forgejo/models/edit_reaction_option.rb +215 -0
- data/lib/forgejo/models/edit_release_option.rb +269 -0
- data/lib/forgejo/models/edit_repo_option.rb +533 -0
- data/lib/forgejo/models/edit_tag_protection_option.rb +237 -0
- data/lib/forgejo/models/edit_team_option.rb +314 -0
- data/lib/forgejo/models/edit_user_option.rb +377 -0
- data/lib/forgejo/models/email.rb +251 -0
- data/lib/forgejo/models/external_tracker.rb +246 -0
- data/lib/forgejo/models/external_wiki.rb +216 -0
- data/lib/forgejo/models/file_commit_response.rb +288 -0
- data/lib/forgejo/models/file_delete_response.rb +233 -0
- data/lib/forgejo/models/file_links_response.rb +233 -0
- data/lib/forgejo/models/file_response.rb +233 -0
- data/lib/forgejo/models/files_response.rb +235 -0
- data/lib/forgejo/models/general_api_settings.rb +242 -0
- data/lib/forgejo/models/general_attachment_settings.rb +242 -0
- data/lib/forgejo/models/general_repo_settings.rb +269 -0
- data/lib/forgejo/models/general_ui_settings.rb +237 -0
- data/lib/forgejo/models/generate_repo_option.rb +340 -0
- data/lib/forgejo/models/git_blob_response.rb +251 -0
- data/lib/forgejo/models/git_entry.rb +260 -0
- data/lib/forgejo/models/git_hook.rb +233 -0
- data/lib/forgejo/models/git_object.rb +232 -0
- data/lib/forgejo/models/git_tree_response.rb +262 -0
- data/lib/forgejo/models/gitignore_template_info.rb +224 -0
- data/lib/forgejo/models/gpg_key.rb +327 -0
- data/lib/forgejo/models/gpg_key_email.rb +224 -0
- data/lib/forgejo/models/hook.rb +319 -0
- data/lib/forgejo/models/identity.rb +224 -0
- data/lib/forgejo/models/internal_tracker.rb +236 -0
- data/lib/forgejo/models/issue.rb +438 -0
- data/lib/forgejo/models/issue_config.rb +225 -0
- data/lib/forgejo/models/issue_config_contact_link.rb +232 -0
- data/lib/forgejo/models/issue_config_validation.rb +223 -0
- data/lib/forgejo/models/issue_deadline.rb +215 -0
- data/lib/forgejo/models/issue_form_field.rb +257 -0
- data/lib/forgejo/models/issue_labels_option.rb +227 -0
- data/lib/forgejo/models/issue_meta.rb +233 -0
- data/lib/forgejo/models/issue_template.rb +282 -0
- data/lib/forgejo/models/label.rb +269 -0
- data/lib/forgejo/models/label_template.rb +242 -0
- data/lib/forgejo/models/license_template_info.rb +251 -0
- data/lib/forgejo/models/licenses_template_list_entry.rb +233 -0
- data/lib/forgejo/models/markdown_option.rb +246 -0
- data/lib/forgejo/models/markup_option.rb +256 -0
- data/lib/forgejo/models/merge_pull_request_option.rb +319 -0
- data/lib/forgejo/models/migrate_repo_options.rb +436 -0
- data/lib/forgejo/models/milestone.rb +297 -0
- data/lib/forgejo/models/new_issue_pins_allowed.rb +224 -0
- data/lib/forgejo/models/node_info.rb +271 -0
- data/lib/forgejo/models/node_info_services.rb +228 -0
- data/lib/forgejo/models/node_info_software.rb +242 -0
- data/lib/forgejo/models/node_info_usage.rb +233 -0
- data/lib/forgejo/models/node_info_usage_users.rb +233 -0
- data/lib/forgejo/models/note.rb +224 -0
- data/lib/forgejo/models/notification_count.rb +215 -0
- data/lib/forgejo/models/notification_subject.rb +271 -0
- data/lib/forgejo/models/notification_thread.rb +269 -0
- data/lib/forgejo/models/o_auth2_application.rb +270 -0
- data/lib/forgejo/models/organization.rb +306 -0
- data/lib/forgejo/models/organization_permissions.rb +251 -0
- data/lib/forgejo/models/package.rb +287 -0
- data/lib/forgejo/models/package_file.rb +269 -0
- data/lib/forgejo/models/payload_commit.rb +303 -0
- data/lib/forgejo/models/payload_commit_verification.rb +251 -0
- data/lib/forgejo/models/payload_user.rb +234 -0
- data/lib/forgejo/models/permission.rb +233 -0
- data/lib/forgejo/models/pr_branch_info.rb +251 -0
- data/lib/forgejo/models/public_key.rb +287 -0
- data/lib/forgejo/models/pull_request.rb +538 -0
- data/lib/forgejo/models/pull_request_meta.rb +242 -0
- data/lib/forgejo/models/pull_review.rb +333 -0
- data/lib/forgejo/models/pull_review_comment.rb +341 -0
- data/lib/forgejo/models/pull_review_request_options.rb +228 -0
- data/lib/forgejo/models/push_mirror.rb +278 -0
- data/lib/forgejo/models/reaction.rb +233 -0
- data/lib/forgejo/models/reference.rb +232 -0
- data/lib/forgejo/models/release.rb +370 -0
- data/lib/forgejo/models/rename_user_option.rb +223 -0
- data/lib/forgejo/models/replace_flags_option.rb +217 -0
- data/lib/forgejo/models/repo_collaborator_permission.rb +233 -0
- data/lib/forgejo/models/repo_commit.rb +259 -0
- data/lib/forgejo/models/repo_create_release_attachment_request.rb +215 -0
- data/lib/forgejo/models/repo_topic_options.rb +218 -0
- data/lib/forgejo/models/repo_transfer.rb +235 -0
- data/lib/forgejo/models/repository.rb +801 -0
- data/lib/forgejo/models/repository_meta.rb +242 -0
- data/lib/forgejo/models/search_results.rb +226 -0
- data/lib/forgejo/models/secret.rb +225 -0
- data/lib/forgejo/models/server_version.rb +215 -0
- data/lib/forgejo/models/stop_watch.rb +269 -0
- data/lib/forgejo/models/submit_pull_review_options.rb +225 -0
- data/lib/forgejo/models/tag.rb +269 -0
- data/lib/forgejo/models/tag_archive_download_count.rb +224 -0
- data/lib/forgejo/models/tag_protection.rb +264 -0
- data/lib/forgejo/models/team.rb +325 -0
- data/lib/forgejo/models/team_search200_response.rb +225 -0
- data/lib/forgejo/models/timeline_comment.rb +469 -0
- data/lib/forgejo/models/topic_name.rb +217 -0
- data/lib/forgejo/models/topic_response.rb +251 -0
- data/lib/forgejo/models/tracked_time.rb +272 -0
- data/lib/forgejo/models/transfer_repo_option.rb +234 -0
- data/lib/forgejo/models/update_file_options.rb +317 -0
- data/lib/forgejo/models/update_repo_avatar_option.rb +216 -0
- data/lib/forgejo/models/update_user_avatar_option.rb +216 -0
- data/lib/forgejo/models/update_variable_option.rb +233 -0
- data/lib/forgejo/models/user.rb +433 -0
- data/lib/forgejo/models/user_heatmap_data.rb +225 -0
- data/lib/forgejo/models/user_search200_response.rb +225 -0
- data/lib/forgejo/models/user_settings.rb +306 -0
- data/lib/forgejo/models/user_settings_options.rb +306 -0
- data/lib/forgejo/models/watch_info.rb +260 -0
- data/lib/forgejo/models/wiki_commit.rb +242 -0
- data/lib/forgejo/models/wiki_commit_list.rb +226 -0
- data/lib/forgejo/models/wiki_page.rb +279 -0
- data/lib/forgejo/models/wiki_page_meta_data.rb +242 -0
- data/lib/forgejo/version.rb +15 -0
- data/lib/forgejo.rb +241 -0
- data/manifest.scm +2 -0
- data/patch +7 -0
- data/patch~ +1 -0
- data/smoke +16 -0
- data/smoke~ +1 -0
- data/spec/api/activitypub_api_spec.rb +80 -0
- data/spec/api/admin_api_spec.rb +308 -0
- data/spec/api/issue_api_spec.rb +998 -0
- data/spec/api/miscellaneous_api_spec.rb +161 -0
- data/spec/api/notification_api_spec.rb +134 -0
- data/spec/api/organization_api_spec.rb +752 -0
- data/spec/api/package_api_spec.rb +92 -0
- data/spec/api/repository_api_spec.rb +2366 -0
- data/spec/api/settings_api_spec.rb +75 -0
- data/spec/api/user_api_spec.rb +839 -0
- data/spec/models/access_token_spec.rb +60 -0
- data/spec/models/action_task_response_spec.rb +42 -0
- data/spec/models/action_task_spec.rb +108 -0
- data/spec/models/action_variable_spec.rb +54 -0
- data/spec/models/activity_pub_spec.rb +36 -0
- data/spec/models/activity_spec.rb +112 -0
- data/spec/models/add_collaborator_option_spec.rb +36 -0
- data/spec/models/add_time_option_spec.rb +48 -0
- data/spec/models/annotated_tag_object_spec.rb +48 -0
- data/spec/models/annotated_tag_spec.rb +78 -0
- data/spec/models/api_error_spec.rb +42 -0
- data/spec/models/attachment_spec.rb +72 -0
- data/spec/models/blocked_user_spec.rb +42 -0
- data/spec/models/branch_protection_spec.rb +192 -0
- data/spec/models/branch_spec.rb +84 -0
- data/spec/models/change_file_operation_spec.rb +64 -0
- data/spec/models/change_files_options_spec.rb +78 -0
- data/spec/models/changed_file_spec.rb +84 -0
- data/spec/models/combined_status_spec.rb +72 -0
- data/spec/models/comment_spec.rb +96 -0
- data/spec/models/commit_affected_files_spec.rb +42 -0
- data/spec/models/commit_date_options_spec.rb +42 -0
- data/spec/models/commit_meta_spec.rb +48 -0
- data/spec/models/commit_spec.rb +90 -0
- data/spec/models/commit_stats_spec.rb +48 -0
- data/spec/models/commit_status_spec.rb +84 -0
- data/spec/models/commit_user_spec.rb +48 -0
- data/spec/models/compare_spec.rb +42 -0
- data/spec/models/contents_response_spec.rb +120 -0
- data/spec/models/create_access_token_option_spec.rb +42 -0
- data/spec/models/create_branch_protection_option_spec.rb +180 -0
- data/spec/models/create_branch_repo_option_spec.rb +48 -0
- data/spec/models/create_email_option_spec.rb +36 -0
- data/spec/models/create_file_options_spec.rb +78 -0
- data/spec/models/create_fork_option_spec.rb +42 -0
- data/spec/models/create_gpg_key_option_spec.rb +42 -0
- data/spec/models/create_hook_option_spec.rb +70 -0
- data/spec/models/create_issue_comment_option_spec.rb +42 -0
- data/spec/models/create_issue_option_spec.rb +84 -0
- data/spec/models/create_key_option_spec.rb +48 -0
- data/spec/models/create_label_option_spec.rb +60 -0
- data/spec/models/create_milestone_option_spec.rb +58 -0
- data/spec/models/create_o_auth2_application_options_spec.rb +48 -0
- data/spec/models/create_or_update_secret_option_spec.rb +36 -0
- data/spec/models/create_org_option_spec.rb +82 -0
- data/spec/models/create_pull_request_option_spec.rb +84 -0
- data/spec/models/create_pull_review_comment_spec.rb +54 -0
- data/spec/models/create_pull_review_options_spec.rb +54 -0
- data/spec/models/create_push_mirror_option_spec.rb +60 -0
- data/spec/models/create_release_option_spec.rb +72 -0
- data/spec/models/create_repo_option_spec.rb +110 -0
- data/spec/models/create_status_option_spec.rb +54 -0
- data/spec/models/create_tag_option_spec.rb +48 -0
- data/spec/models/create_tag_protection_option_spec.rb +48 -0
- data/spec/models/create_team_option_spec.rb +76 -0
- data/spec/models/create_user_option_spec.rb +96 -0
- data/spec/models/create_variable_option_spec.rb +36 -0
- data/spec/models/create_wiki_page_options_spec.rb +48 -0
- data/spec/models/cron_spec.rb +60 -0
- data/spec/models/delete_email_option_spec.rb +36 -0
- data/spec/models/delete_file_options_spec.rb +78 -0
- data/spec/models/delete_labels_option_spec.rb +36 -0
- data/spec/models/deploy_key_spec.rb +84 -0
- data/spec/models/dismiss_pull_review_options_spec.rb +42 -0
- data/spec/models/dispatch_workflow_option_spec.rb +42 -0
- data/spec/models/edit_attachment_options_spec.rb +36 -0
- data/spec/models/edit_branch_protection_option_spec.rb +168 -0
- data/spec/models/edit_deadline_option_spec.rb +36 -0
- data/spec/models/edit_git_hook_option_spec.rb +36 -0
- data/spec/models/edit_hook_option_spec.rb +60 -0
- data/spec/models/edit_issue_comment_option_spec.rb +42 -0
- data/spec/models/edit_issue_option_spec.rb +90 -0
- data/spec/models/edit_label_option_spec.rb +60 -0
- data/spec/models/edit_milestone_option_spec.rb +54 -0
- data/spec/models/edit_org_option_spec.rb +76 -0
- data/spec/models/edit_pull_request_option_spec.rb +96 -0
- data/spec/models/edit_reaction_option_spec.rb +36 -0
- data/spec/models/edit_release_option_spec.rb +72 -0
- data/spec/models/edit_repo_option_spec.rb +228 -0
- data/spec/models/edit_tag_protection_option_spec.rb +48 -0
- data/spec/models/edit_team_option_spec.rb +76 -0
- data/spec/models/edit_user_option_spec.rb +144 -0
- data/spec/models/email_spec.rb +60 -0
- data/spec/models/external_tracker_spec.rb +54 -0
- data/spec/models/external_wiki_spec.rb +36 -0
- data/spec/models/file_commit_response_spec.rb +84 -0
- data/spec/models/file_delete_response_spec.rb +48 -0
- data/spec/models/file_links_response_spec.rb +48 -0
- data/spec/models/file_response_spec.rb +48 -0
- data/spec/models/files_response_spec.rb +48 -0
- data/spec/models/general_api_settings_spec.rb +54 -0
- data/spec/models/general_attachment_settings_spec.rb +54 -0
- data/spec/models/general_repo_settings_spec.rb +72 -0
- data/spec/models/general_ui_settings_spec.rb +48 -0
- data/spec/models/generate_repo_option_spec.rb +102 -0
- data/spec/models/git_blob_response_spec.rb +60 -0
- data/spec/models/git_entry_spec.rb +66 -0
- data/spec/models/git_hook_spec.rb +48 -0
- data/spec/models/git_object_spec.rb +48 -0
- data/spec/models/git_tree_response_spec.rb +66 -0
- data/spec/models/gitignore_template_info_spec.rb +42 -0
- data/spec/models/gpg_key_email_spec.rb +42 -0
- data/spec/models/gpg_key_spec.rb +108 -0
- data/spec/models/hook_spec.rb +102 -0
- data/spec/models/identity_spec.rb +42 -0
- data/spec/models/internal_tracker_spec.rb +48 -0
- data/spec/models/issue_config_contact_link_spec.rb +48 -0
- data/spec/models/issue_config_spec.rb +42 -0
- data/spec/models/issue_config_validation_spec.rb +42 -0
- data/spec/models/issue_deadline_spec.rb +36 -0
- data/spec/models/issue_form_field_spec.rb +60 -0
- data/spec/models/issue_labels_option_spec.rb +42 -0
- data/spec/models/issue_meta_spec.rb +48 -0
- data/spec/models/issue_spec.rb +180 -0
- data/spec/models/issue_template_spec.rb +78 -0
- data/spec/models/label_spec.rb +72 -0
- data/spec/models/label_template_spec.rb +54 -0
- data/spec/models/license_template_info_spec.rb +60 -0
- data/spec/models/licenses_template_list_entry_spec.rb +48 -0
- data/spec/models/markdown_option_spec.rb +54 -0
- data/spec/models/markup_option_spec.rb +60 -0
- data/spec/models/merge_pull_request_option_spec.rb +82 -0
- data/spec/models/migrate_repo_options_spec.rb +154 -0
- data/spec/models/milestone_spec.rb +90 -0
- data/spec/models/new_issue_pins_allowed_spec.rb +42 -0
- data/spec/models/node_info_services_spec.rb +42 -0
- data/spec/models/node_info_software_spec.rb +54 -0
- data/spec/models/node_info_spec.rb +72 -0
- data/spec/models/node_info_usage_spec.rb +48 -0
- data/spec/models/node_info_usage_users_spec.rb +48 -0
- data/spec/models/note_spec.rb +42 -0
- data/spec/models/notification_count_spec.rb +36 -0
- data/spec/models/notification_subject_spec.rb +72 -0
- data/spec/models/notification_thread_spec.rb +72 -0
- data/spec/models/o_auth2_application_spec.rb +72 -0
- data/spec/models/organization_permissions_spec.rb +60 -0
- data/spec/models/organization_spec.rb +96 -0
- data/spec/models/package_file_spec.rb +72 -0
- data/spec/models/package_spec.rb +84 -0
- data/spec/models/payload_commit_spec.rb +90 -0
- data/spec/models/payload_commit_verification_spec.rb +60 -0
- data/spec/models/payload_user_spec.rb +48 -0
- data/spec/models/permission_spec.rb +48 -0
- data/spec/models/pr_branch_info_spec.rb +60 -0
- data/spec/models/public_key_spec.rb +84 -0
- data/spec/models/pull_request_meta_spec.rb +54 -0
- data/spec/models/pull_request_spec.rb +246 -0
- data/spec/models/pull_review_comment_spec.rb +120 -0
- data/spec/models/pull_review_request_options_spec.rb +42 -0
- data/spec/models/pull_review_spec.rb +114 -0
- data/spec/models/push_mirror_spec.rb +78 -0
- data/spec/models/reaction_spec.rb +48 -0
- data/spec/models/reference_spec.rb +48 -0
- data/spec/models/release_spec.rb +138 -0
- data/spec/models/rename_user_option_spec.rb +36 -0
- data/spec/models/replace_flags_option_spec.rb +36 -0
- data/spec/models/repo_collaborator_permission_spec.rb +48 -0
- data/spec/models/repo_commit_spec.rb +66 -0
- data/spec/models/repo_create_release_attachment_request_spec.rb +36 -0
- data/spec/models/repo_topic_options_spec.rb +36 -0
- data/spec/models/repo_transfer_spec.rb +48 -0
- data/spec/models/repository_meta_spec.rb +54 -0
- data/spec/models/repository_spec.rb +406 -0
- data/spec/models/search_results_spec.rb +42 -0
- data/spec/models/secret_spec.rb +42 -0
- data/spec/models/server_version_spec.rb +36 -0
- data/spec/models/stop_watch_spec.rb +72 -0
- data/spec/models/submit_pull_review_options_spec.rb +42 -0
- data/spec/models/tag_archive_download_count_spec.rb +42 -0
- data/spec/models/tag_protection_spec.rb +66 -0
- data/spec/models/tag_spec.rb +72 -0
- data/spec/models/team_search200_response_spec.rb +42 -0
- data/spec/models/team_spec.rb +88 -0
- data/spec/models/timeline_comment_spec.rb +204 -0
- data/spec/models/topic_name_spec.rb +36 -0
- data/spec/models/topic_response_spec.rb +60 -0
- data/spec/models/tracked_time_spec.rb +72 -0
- data/spec/models/transfer_repo_option_spec.rb +42 -0
- data/spec/models/update_file_options_spec.rb +90 -0
- data/spec/models/update_repo_avatar_option_spec.rb +36 -0
- data/spec/models/update_user_avatar_option_spec.rb +36 -0
- data/spec/models/update_variable_option_spec.rb +42 -0
- data/spec/models/user_heatmap_data_spec.rb +42 -0
- data/spec/models/user_search200_response_spec.rb +42 -0
- data/spec/models/user_settings_options_spec.rb +96 -0
- data/spec/models/user_settings_spec.rb +96 -0
- data/spec/models/user_spec.rb +168 -0
- data/spec/models/watch_info_spec.rb +66 -0
- data/spec/models/wiki_commit_list_spec.rb +42 -0
- data/spec/models/wiki_commit_spec.rb +54 -0
- data/spec/models/wiki_page_meta_data_spec.rb +54 -0
- data/spec/models/wiki_page_spec.rb +78 -0
- data/spec/spec_helper.rb +111 -0
- data/swagger.v1.json +26802 -0
- data/swagger.v1.patched.json +1 -0
- metadata +949 -0
@@ -0,0 +1,839 @@
|
|
1
|
+
=begin
|
2
|
+
#Forgejo API
|
3
|
+
|
4
|
+
#This documentation describes the Forgejo API.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 8.0.3-53-9d5cce4bcc+gitea-1.22.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.9.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for Forgejo::UserApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'UserApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = Forgejo::UserApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of UserApi' do
|
30
|
+
it 'should create an instance of UserApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(Forgejo::UserApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for create_current_user_repo_0
|
36
|
+
# Create a repository
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @option opts [CreateRepoOption] :body
|
39
|
+
# @return [Repository]
|
40
|
+
describe 'create_current_user_repo_0 test' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
# unit tests for create_user_variable
|
47
|
+
# Create a user-level variable
|
48
|
+
# @param variablename name of the variable
|
49
|
+
# @param [Hash] opts the optional parameters
|
50
|
+
# @option opts [CreateVariableOption] :body
|
51
|
+
# @return [nil]
|
52
|
+
describe 'create_user_variable test' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
# unit tests for delete_user_secret
|
59
|
+
# Delete a secret in a user scope
|
60
|
+
# @param secretname name of the secret
|
61
|
+
# @param [Hash] opts the optional parameters
|
62
|
+
# @return [nil]
|
63
|
+
describe 'delete_user_secret test' do
|
64
|
+
it 'should work' do
|
65
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
# unit tests for delete_user_variable
|
70
|
+
# Delete a user-level variable which is created by current doer
|
71
|
+
# @param variablename name of the variable
|
72
|
+
# @param [Hash] opts the optional parameters
|
73
|
+
# @return [nil]
|
74
|
+
describe 'delete_user_variable test' do
|
75
|
+
it 'should work' do
|
76
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
# unit tests for get_user_settings
|
81
|
+
# Get user settings
|
82
|
+
# @param [Hash] opts the optional parameters
|
83
|
+
# @return [UserSettings]
|
84
|
+
describe 'get_user_settings test' do
|
85
|
+
it 'should work' do
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
# unit tests for get_user_variable
|
91
|
+
# Get a user-level variable which is created by current doer
|
92
|
+
# @param variablename name of the variable
|
93
|
+
# @param [Hash] opts the optional parameters
|
94
|
+
# @return [ActionVariable]
|
95
|
+
describe 'get_user_variable test' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
# unit tests for get_user_variables_list
|
102
|
+
# Get the user-level list of variables which is created by current doer
|
103
|
+
# @param [Hash] opts the optional parameters
|
104
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
105
|
+
# @option opts [Integer] :limit page size of results
|
106
|
+
# @return [Array<ActionVariable>]
|
107
|
+
describe 'get_user_variables_list test' do
|
108
|
+
it 'should work' do
|
109
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
# unit tests for get_verification_token
|
114
|
+
# Get a Token to verify
|
115
|
+
# @param [Hash] opts the optional parameters
|
116
|
+
# @return [String]
|
117
|
+
describe 'get_verification_token test' do
|
118
|
+
it 'should work' do
|
119
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
# unit tests for update_user_secret
|
124
|
+
# Create or Update a secret value in a user scope
|
125
|
+
# @param secretname name of the secret
|
126
|
+
# @param [Hash] opts the optional parameters
|
127
|
+
# @option opts [CreateOrUpdateSecretOption] :body
|
128
|
+
# @return [nil]
|
129
|
+
describe 'update_user_secret test' do
|
130
|
+
it 'should work' do
|
131
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
# unit tests for update_user_settings
|
136
|
+
# Update user settings
|
137
|
+
# @param [Hash] opts the optional parameters
|
138
|
+
# @option opts [UserSettingsOptions] :body
|
139
|
+
# @return [UserSettings]
|
140
|
+
describe 'update_user_settings test' do
|
141
|
+
it 'should work' do
|
142
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
143
|
+
end
|
144
|
+
end
|
145
|
+
|
146
|
+
# unit tests for update_user_variable
|
147
|
+
# Update a user-level variable which is created by current doer
|
148
|
+
# @param variablename name of the variable
|
149
|
+
# @param [Hash] opts the optional parameters
|
150
|
+
# @option opts [UpdateVariableOption] :body
|
151
|
+
# @return [nil]
|
152
|
+
describe 'update_user_variable test' do
|
153
|
+
it 'should work' do
|
154
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
158
|
+
# unit tests for user_add_email
|
159
|
+
# Add email addresses
|
160
|
+
# @param [Hash] opts the optional parameters
|
161
|
+
# @option opts [CreateEmailOption] :body
|
162
|
+
# @return [Array<Email>]
|
163
|
+
describe 'user_add_email test' do
|
164
|
+
it 'should work' do
|
165
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
# unit tests for user_block_user
|
170
|
+
# Blocks a user from the doer.
|
171
|
+
# @param username username of the user
|
172
|
+
# @param [Hash] opts the optional parameters
|
173
|
+
# @return [nil]
|
174
|
+
describe 'user_block_user test' do
|
175
|
+
it 'should work' do
|
176
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
180
|
+
# unit tests for user_check_following
|
181
|
+
# Check if one user is following another user
|
182
|
+
# @param username username of following user
|
183
|
+
# @param target username of followed user
|
184
|
+
# @param [Hash] opts the optional parameters
|
185
|
+
# @return [nil]
|
186
|
+
describe 'user_check_following test' do
|
187
|
+
it 'should work' do
|
188
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
189
|
+
end
|
190
|
+
end
|
191
|
+
|
192
|
+
# unit tests for user_create_hook
|
193
|
+
# Create a hook
|
194
|
+
# @param body
|
195
|
+
# @param [Hash] opts the optional parameters
|
196
|
+
# @return [Hook]
|
197
|
+
describe 'user_create_hook test' do
|
198
|
+
it 'should work' do
|
199
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
203
|
+
# unit tests for user_create_o_auth2_application
|
204
|
+
# creates a new OAuth2 application
|
205
|
+
# @param body
|
206
|
+
# @param [Hash] opts the optional parameters
|
207
|
+
# @return [OAuth2Application]
|
208
|
+
describe 'user_create_o_auth2_application test' do
|
209
|
+
it 'should work' do
|
210
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
211
|
+
end
|
212
|
+
end
|
213
|
+
|
214
|
+
# unit tests for user_create_token
|
215
|
+
# Create an access token
|
216
|
+
# @param username username of user
|
217
|
+
# @param [Hash] opts the optional parameters
|
218
|
+
# @option opts [CreateAccessTokenOption] :body
|
219
|
+
# @return [AccessToken]
|
220
|
+
describe 'user_create_token test' do
|
221
|
+
it 'should work' do
|
222
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
226
|
+
# unit tests for user_current_check_following
|
227
|
+
# Check whether a user is followed by the authenticated user
|
228
|
+
# @param username username of followed user
|
229
|
+
# @param [Hash] opts the optional parameters
|
230
|
+
# @return [nil]
|
231
|
+
describe 'user_current_check_following test' do
|
232
|
+
it 'should work' do
|
233
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
234
|
+
end
|
235
|
+
end
|
236
|
+
|
237
|
+
# unit tests for user_current_check_starring
|
238
|
+
# Whether the authenticated is starring the repo
|
239
|
+
# @param owner owner of the repo
|
240
|
+
# @param repo name of the repo
|
241
|
+
# @param [Hash] opts the optional parameters
|
242
|
+
# @return [nil]
|
243
|
+
describe 'user_current_check_starring test' do
|
244
|
+
it 'should work' do
|
245
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
246
|
+
end
|
247
|
+
end
|
248
|
+
|
249
|
+
# unit tests for user_current_delete_follow
|
250
|
+
# Unfollow a user
|
251
|
+
# @param username username of user to unfollow
|
252
|
+
# @param [Hash] opts the optional parameters
|
253
|
+
# @return [nil]
|
254
|
+
describe 'user_current_delete_follow test' do
|
255
|
+
it 'should work' do
|
256
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
257
|
+
end
|
258
|
+
end
|
259
|
+
|
260
|
+
# unit tests for user_current_delete_gpg_key
|
261
|
+
# Remove a GPG key
|
262
|
+
# @param id id of key to delete
|
263
|
+
# @param [Hash] opts the optional parameters
|
264
|
+
# @return [nil]
|
265
|
+
describe 'user_current_delete_gpg_key test' do
|
266
|
+
it 'should work' do
|
267
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
268
|
+
end
|
269
|
+
end
|
270
|
+
|
271
|
+
# unit tests for user_current_delete_key
|
272
|
+
# Delete a public key
|
273
|
+
# @param id id of key to delete
|
274
|
+
# @param [Hash] opts the optional parameters
|
275
|
+
# @return [nil]
|
276
|
+
describe 'user_current_delete_key test' do
|
277
|
+
it 'should work' do
|
278
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
279
|
+
end
|
280
|
+
end
|
281
|
+
|
282
|
+
# unit tests for user_current_delete_star
|
283
|
+
# Unstar the given repo
|
284
|
+
# @param owner owner of the repo to unstar
|
285
|
+
# @param repo name of the repo to unstar
|
286
|
+
# @param [Hash] opts the optional parameters
|
287
|
+
# @return [nil]
|
288
|
+
describe 'user_current_delete_star test' do
|
289
|
+
it 'should work' do
|
290
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
294
|
+
# unit tests for user_current_get_gpg_key
|
295
|
+
# Get a GPG key
|
296
|
+
# @param id id of key to get
|
297
|
+
# @param [Hash] opts the optional parameters
|
298
|
+
# @return [GPGKey]
|
299
|
+
describe 'user_current_get_gpg_key test' do
|
300
|
+
it 'should work' do
|
301
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
302
|
+
end
|
303
|
+
end
|
304
|
+
|
305
|
+
# unit tests for user_current_get_key
|
306
|
+
# Get a public key
|
307
|
+
# @param id id of key to get
|
308
|
+
# @param [Hash] opts the optional parameters
|
309
|
+
# @return [PublicKey]
|
310
|
+
describe 'user_current_get_key test' do
|
311
|
+
it 'should work' do
|
312
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
313
|
+
end
|
314
|
+
end
|
315
|
+
|
316
|
+
# unit tests for user_current_list_followers
|
317
|
+
# List the authenticated user's followers
|
318
|
+
# @param [Hash] opts the optional parameters
|
319
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
320
|
+
# @option opts [Integer] :limit page size of results
|
321
|
+
# @return [Array<User>]
|
322
|
+
describe 'user_current_list_followers test' do
|
323
|
+
it 'should work' do
|
324
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
325
|
+
end
|
326
|
+
end
|
327
|
+
|
328
|
+
# unit tests for user_current_list_following
|
329
|
+
# List the users that the authenticated user is following
|
330
|
+
# @param [Hash] opts the optional parameters
|
331
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
332
|
+
# @option opts [Integer] :limit page size of results
|
333
|
+
# @return [Array<User>]
|
334
|
+
describe 'user_current_list_following test' do
|
335
|
+
it 'should work' do
|
336
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
337
|
+
end
|
338
|
+
end
|
339
|
+
|
340
|
+
# unit tests for user_current_list_gpg_keys
|
341
|
+
# List the authenticated user's GPG keys
|
342
|
+
# @param [Hash] opts the optional parameters
|
343
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
344
|
+
# @option opts [Integer] :limit page size of results
|
345
|
+
# @return [Array<GPGKey>]
|
346
|
+
describe 'user_current_list_gpg_keys test' do
|
347
|
+
it 'should work' do
|
348
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
349
|
+
end
|
350
|
+
end
|
351
|
+
|
352
|
+
# unit tests for user_current_list_keys
|
353
|
+
# List the authenticated user's public keys
|
354
|
+
# @param [Hash] opts the optional parameters
|
355
|
+
# @option opts [String] :fingerprint fingerprint of the key
|
356
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
357
|
+
# @option opts [Integer] :limit page size of results
|
358
|
+
# @return [Array<PublicKey>]
|
359
|
+
describe 'user_current_list_keys test' do
|
360
|
+
it 'should work' do
|
361
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
365
|
+
# unit tests for user_current_list_repos
|
366
|
+
# List the repos that the authenticated user owns
|
367
|
+
# @param [Hash] opts the optional parameters
|
368
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
369
|
+
# @option opts [Integer] :limit page size of results
|
370
|
+
# @return [Array<Repository>]
|
371
|
+
describe 'user_current_list_repos test' do
|
372
|
+
it 'should work' do
|
373
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
374
|
+
end
|
375
|
+
end
|
376
|
+
|
377
|
+
# unit tests for user_current_list_starred
|
378
|
+
# The repos that the authenticated user has starred
|
379
|
+
# @param [Hash] opts the optional parameters
|
380
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
381
|
+
# @option opts [Integer] :limit page size of results
|
382
|
+
# @return [Array<Repository>]
|
383
|
+
describe 'user_current_list_starred test' do
|
384
|
+
it 'should work' do
|
385
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
386
|
+
end
|
387
|
+
end
|
388
|
+
|
389
|
+
# unit tests for user_current_list_subscriptions
|
390
|
+
# List repositories watched by the authenticated user
|
391
|
+
# @param [Hash] opts the optional parameters
|
392
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
393
|
+
# @option opts [Integer] :limit page size of results
|
394
|
+
# @return [Array<Repository>]
|
395
|
+
describe 'user_current_list_subscriptions test' do
|
396
|
+
it 'should work' do
|
397
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
398
|
+
end
|
399
|
+
end
|
400
|
+
|
401
|
+
# unit tests for user_current_post_gpg_key
|
402
|
+
# Create a GPG key
|
403
|
+
# @param [Hash] opts the optional parameters
|
404
|
+
# @option opts [CreateGPGKeyOption] :form
|
405
|
+
# @return [GPGKey]
|
406
|
+
describe 'user_current_post_gpg_key test' do
|
407
|
+
it 'should work' do
|
408
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
409
|
+
end
|
410
|
+
end
|
411
|
+
|
412
|
+
# unit tests for user_current_post_key
|
413
|
+
# Create a public key
|
414
|
+
# @param [Hash] opts the optional parameters
|
415
|
+
# @option opts [CreateKeyOption] :body
|
416
|
+
# @return [PublicKey]
|
417
|
+
describe 'user_current_post_key test' do
|
418
|
+
it 'should work' do
|
419
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
420
|
+
end
|
421
|
+
end
|
422
|
+
|
423
|
+
# unit tests for user_current_put_follow
|
424
|
+
# Follow a user
|
425
|
+
# @param username username of user to follow
|
426
|
+
# @param [Hash] opts the optional parameters
|
427
|
+
# @return [nil]
|
428
|
+
describe 'user_current_put_follow test' do
|
429
|
+
it 'should work' do
|
430
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
431
|
+
end
|
432
|
+
end
|
433
|
+
|
434
|
+
# unit tests for user_current_put_star
|
435
|
+
# Star the given repo
|
436
|
+
# @param owner owner of the repo to star
|
437
|
+
# @param repo name of the repo to star
|
438
|
+
# @param [Hash] opts the optional parameters
|
439
|
+
# @return [nil]
|
440
|
+
describe 'user_current_put_star test' do
|
441
|
+
it 'should work' do
|
442
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
443
|
+
end
|
444
|
+
end
|
445
|
+
|
446
|
+
# unit tests for user_current_tracked_times
|
447
|
+
# List the current user's tracked times
|
448
|
+
# @param [Hash] opts the optional parameters
|
449
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
450
|
+
# @option opts [Integer] :limit page size of results
|
451
|
+
# @option opts [Time] :since Only show times updated after the given time. This is a timestamp in RFC 3339 format
|
452
|
+
# @option opts [Time] :before Only show times updated before the given time. This is a timestamp in RFC 3339 format
|
453
|
+
# @return [Array<TrackedTime>]
|
454
|
+
describe 'user_current_tracked_times test' do
|
455
|
+
it 'should work' do
|
456
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
457
|
+
end
|
458
|
+
end
|
459
|
+
|
460
|
+
# unit tests for user_delete_access_token
|
461
|
+
# delete an access token
|
462
|
+
# @param username username of user
|
463
|
+
# @param token token to be deleted, identified by ID and if not available by name
|
464
|
+
# @param [Hash] opts the optional parameters
|
465
|
+
# @return [nil]
|
466
|
+
describe 'user_delete_access_token test' do
|
467
|
+
it 'should work' do
|
468
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
469
|
+
end
|
470
|
+
end
|
471
|
+
|
472
|
+
# unit tests for user_delete_avatar
|
473
|
+
# Delete Avatar
|
474
|
+
# @param [Hash] opts the optional parameters
|
475
|
+
# @return [nil]
|
476
|
+
describe 'user_delete_avatar test' do
|
477
|
+
it 'should work' do
|
478
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
479
|
+
end
|
480
|
+
end
|
481
|
+
|
482
|
+
# unit tests for user_delete_email
|
483
|
+
# Delete email addresses
|
484
|
+
# @param [Hash] opts the optional parameters
|
485
|
+
# @option opts [DeleteEmailOption] :body
|
486
|
+
# @return [nil]
|
487
|
+
describe 'user_delete_email test' do
|
488
|
+
it 'should work' do
|
489
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
490
|
+
end
|
491
|
+
end
|
492
|
+
|
493
|
+
# unit tests for user_delete_hook
|
494
|
+
# Delete a hook
|
495
|
+
# @param id id of the hook to delete
|
496
|
+
# @param [Hash] opts the optional parameters
|
497
|
+
# @return [nil]
|
498
|
+
describe 'user_delete_hook test' do
|
499
|
+
it 'should work' do
|
500
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
501
|
+
end
|
502
|
+
end
|
503
|
+
|
504
|
+
# unit tests for user_delete_o_auth2_application
|
505
|
+
# delete an OAuth2 Application
|
506
|
+
# @param id token to be deleted
|
507
|
+
# @param [Hash] opts the optional parameters
|
508
|
+
# @return [nil]
|
509
|
+
describe 'user_delete_o_auth2_application test' do
|
510
|
+
it 'should work' do
|
511
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
512
|
+
end
|
513
|
+
end
|
514
|
+
|
515
|
+
# unit tests for user_edit_hook
|
516
|
+
# Update a hook
|
517
|
+
# @param id id of the hook to update
|
518
|
+
# @param [Hash] opts the optional parameters
|
519
|
+
# @option opts [EditHookOption] :body
|
520
|
+
# @return [Hook]
|
521
|
+
describe 'user_edit_hook test' do
|
522
|
+
it 'should work' do
|
523
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
524
|
+
end
|
525
|
+
end
|
526
|
+
|
527
|
+
# unit tests for user_get
|
528
|
+
# Get a user
|
529
|
+
# @param username username of user to get
|
530
|
+
# @param [Hash] opts the optional parameters
|
531
|
+
# @return [User]
|
532
|
+
describe 'user_get test' do
|
533
|
+
it 'should work' do
|
534
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
535
|
+
end
|
536
|
+
end
|
537
|
+
|
538
|
+
# unit tests for user_get_current
|
539
|
+
# Get the authenticated user
|
540
|
+
# @param [Hash] opts the optional parameters
|
541
|
+
# @return [User]
|
542
|
+
describe 'user_get_current test' do
|
543
|
+
it 'should work' do
|
544
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
545
|
+
end
|
546
|
+
end
|
547
|
+
|
548
|
+
# unit tests for user_get_heatmap_data
|
549
|
+
# Get a user's heatmap
|
550
|
+
# @param username username of user to get
|
551
|
+
# @param [Hash] opts the optional parameters
|
552
|
+
# @return [Array<UserHeatmapData>]
|
553
|
+
describe 'user_get_heatmap_data test' do
|
554
|
+
it 'should work' do
|
555
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
556
|
+
end
|
557
|
+
end
|
558
|
+
|
559
|
+
# unit tests for user_get_hook
|
560
|
+
# Get a hook
|
561
|
+
# @param id id of the hook to get
|
562
|
+
# @param [Hash] opts the optional parameters
|
563
|
+
# @return [Hook]
|
564
|
+
describe 'user_get_hook test' do
|
565
|
+
it 'should work' do
|
566
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
567
|
+
end
|
568
|
+
end
|
569
|
+
|
570
|
+
# unit tests for user_get_o_auth2_application
|
571
|
+
# get an OAuth2 Application
|
572
|
+
# @param id Application ID to be found
|
573
|
+
# @param [Hash] opts the optional parameters
|
574
|
+
# @return [OAuth2Application]
|
575
|
+
describe 'user_get_o_auth2_application test' do
|
576
|
+
it 'should work' do
|
577
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
578
|
+
end
|
579
|
+
end
|
580
|
+
|
581
|
+
# unit tests for user_get_o_auth2_applications
|
582
|
+
# List the authenticated user's oauth2 applications
|
583
|
+
# @param [Hash] opts the optional parameters
|
584
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
585
|
+
# @option opts [Integer] :limit page size of results
|
586
|
+
# @return [Array<OAuth2Application>]
|
587
|
+
describe 'user_get_o_auth2_applications test' do
|
588
|
+
it 'should work' do
|
589
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
590
|
+
end
|
591
|
+
end
|
592
|
+
|
593
|
+
# unit tests for user_get_runner_registration_token
|
594
|
+
# Get an user's actions runner registration token
|
595
|
+
# @param [Hash] opts the optional parameters
|
596
|
+
# @return [nil]
|
597
|
+
describe 'user_get_runner_registration_token test' do
|
598
|
+
it 'should work' do
|
599
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
600
|
+
end
|
601
|
+
end
|
602
|
+
|
603
|
+
# unit tests for user_get_stop_watches
|
604
|
+
# Get list of all existing stopwatches
|
605
|
+
# @param [Hash] opts the optional parameters
|
606
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
607
|
+
# @option opts [Integer] :limit page size of results
|
608
|
+
# @return [Array<StopWatch>]
|
609
|
+
describe 'user_get_stop_watches test' do
|
610
|
+
it 'should work' do
|
611
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
612
|
+
end
|
613
|
+
end
|
614
|
+
|
615
|
+
# unit tests for user_get_tokens
|
616
|
+
# List the authenticated user's access tokens
|
617
|
+
# @param username username of user
|
618
|
+
# @param [Hash] opts the optional parameters
|
619
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
620
|
+
# @option opts [Integer] :limit page size of results
|
621
|
+
# @return [Array<AccessToken>]
|
622
|
+
describe 'user_get_tokens test' do
|
623
|
+
it 'should work' do
|
624
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
625
|
+
end
|
626
|
+
end
|
627
|
+
|
628
|
+
# unit tests for user_list_activity_feeds
|
629
|
+
# List a user's activity feeds
|
630
|
+
# @param username username of user
|
631
|
+
# @param [Hash] opts the optional parameters
|
632
|
+
# @option opts [Boolean] :only_performed_by if true, only show actions performed by the requested user
|
633
|
+
# @option opts [Date] :date the date of the activities to be found
|
634
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
635
|
+
# @option opts [Integer] :limit page size of results
|
636
|
+
# @return [Array<Activity>]
|
637
|
+
describe 'user_list_activity_feeds test' do
|
638
|
+
it 'should work' do
|
639
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
640
|
+
end
|
641
|
+
end
|
642
|
+
|
643
|
+
# unit tests for user_list_blocked_users
|
644
|
+
# List the authenticated user's blocked users
|
645
|
+
# @param [Hash] opts the optional parameters
|
646
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
647
|
+
# @option opts [Integer] :limit page size of results
|
648
|
+
# @return [Array<BlockedUser>]
|
649
|
+
describe 'user_list_blocked_users test' do
|
650
|
+
it 'should work' do
|
651
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
652
|
+
end
|
653
|
+
end
|
654
|
+
|
655
|
+
# unit tests for user_list_emails
|
656
|
+
# List the authenticated user's email addresses
|
657
|
+
# @param [Hash] opts the optional parameters
|
658
|
+
# @return [Array<Email>]
|
659
|
+
describe 'user_list_emails test' do
|
660
|
+
it 'should work' do
|
661
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
662
|
+
end
|
663
|
+
end
|
664
|
+
|
665
|
+
# unit tests for user_list_followers
|
666
|
+
# List the given user's followers
|
667
|
+
# @param username username of user
|
668
|
+
# @param [Hash] opts the optional parameters
|
669
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
670
|
+
# @option opts [Integer] :limit page size of results
|
671
|
+
# @return [Array<User>]
|
672
|
+
describe 'user_list_followers test' do
|
673
|
+
it 'should work' do
|
674
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
675
|
+
end
|
676
|
+
end
|
677
|
+
|
678
|
+
# unit tests for user_list_following
|
679
|
+
# List the users that the given user is following
|
680
|
+
# @param username username of user
|
681
|
+
# @param [Hash] opts the optional parameters
|
682
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
683
|
+
# @option opts [Integer] :limit page size of results
|
684
|
+
# @return [Array<User>]
|
685
|
+
describe 'user_list_following test' do
|
686
|
+
it 'should work' do
|
687
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
688
|
+
end
|
689
|
+
end
|
690
|
+
|
691
|
+
# unit tests for user_list_gpg_keys
|
692
|
+
# List the given user's GPG keys
|
693
|
+
# @param username username of user
|
694
|
+
# @param [Hash] opts the optional parameters
|
695
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
696
|
+
# @option opts [Integer] :limit page size of results
|
697
|
+
# @return [Array<GPGKey>]
|
698
|
+
describe 'user_list_gpg_keys test' do
|
699
|
+
it 'should work' do
|
700
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
701
|
+
end
|
702
|
+
end
|
703
|
+
|
704
|
+
# unit tests for user_list_hooks
|
705
|
+
# List the authenticated user's webhooks
|
706
|
+
# @param [Hash] opts the optional parameters
|
707
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
708
|
+
# @option opts [Integer] :limit page size of results
|
709
|
+
# @return [Array<Hook>]
|
710
|
+
describe 'user_list_hooks test' do
|
711
|
+
it 'should work' do
|
712
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
713
|
+
end
|
714
|
+
end
|
715
|
+
|
716
|
+
# unit tests for user_list_keys
|
717
|
+
# List the given user's public keys
|
718
|
+
# @param username username of user
|
719
|
+
# @param [Hash] opts the optional parameters
|
720
|
+
# @option opts [String] :fingerprint fingerprint of the key
|
721
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
722
|
+
# @option opts [Integer] :limit page size of results
|
723
|
+
# @return [Array<PublicKey>]
|
724
|
+
describe 'user_list_keys test' do
|
725
|
+
it 'should work' do
|
726
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
727
|
+
end
|
728
|
+
end
|
729
|
+
|
730
|
+
# unit tests for user_list_repos
|
731
|
+
# List the repos owned by the given user
|
732
|
+
# @param username username of user
|
733
|
+
# @param [Hash] opts the optional parameters
|
734
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
735
|
+
# @option opts [Integer] :limit page size of results
|
736
|
+
# @return [Array<Repository>]
|
737
|
+
describe 'user_list_repos test' do
|
738
|
+
it 'should work' do
|
739
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
740
|
+
end
|
741
|
+
end
|
742
|
+
|
743
|
+
# unit tests for user_list_starred
|
744
|
+
# The repos that the given user has starred
|
745
|
+
# @param username username of user
|
746
|
+
# @param [Hash] opts the optional parameters
|
747
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
748
|
+
# @option opts [Integer] :limit page size of results
|
749
|
+
# @return [Array<Repository>]
|
750
|
+
describe 'user_list_starred test' do
|
751
|
+
it 'should work' do
|
752
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
753
|
+
end
|
754
|
+
end
|
755
|
+
|
756
|
+
# unit tests for user_list_subscriptions
|
757
|
+
# List the repositories watched by a user
|
758
|
+
# @param username username of the user
|
759
|
+
# @param [Hash] opts the optional parameters
|
760
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
761
|
+
# @option opts [Integer] :limit page size of results
|
762
|
+
# @return [Array<Repository>]
|
763
|
+
describe 'user_list_subscriptions test' do
|
764
|
+
it 'should work' do
|
765
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
766
|
+
end
|
767
|
+
end
|
768
|
+
|
769
|
+
# unit tests for user_list_teams
|
770
|
+
# List all the teams a user belongs to
|
771
|
+
# @param [Hash] opts the optional parameters
|
772
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
773
|
+
# @option opts [Integer] :limit page size of results
|
774
|
+
# @return [Array<Team>]
|
775
|
+
describe 'user_list_teams test' do
|
776
|
+
it 'should work' do
|
777
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
778
|
+
end
|
779
|
+
end
|
780
|
+
|
781
|
+
# unit tests for user_search
|
782
|
+
# Search for users
|
783
|
+
# @param [Hash] opts the optional parameters
|
784
|
+
# @option opts [String] :q keyword
|
785
|
+
# @option opts [Integer] :uid ID of the user to search for
|
786
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
787
|
+
# @option opts [Integer] :limit page size of results
|
788
|
+
# @return [UserSearch200Response]
|
789
|
+
describe 'user_search test' do
|
790
|
+
it 'should work' do
|
791
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
792
|
+
end
|
793
|
+
end
|
794
|
+
|
795
|
+
# unit tests for user_unblock_user
|
796
|
+
# Unblocks a user from the doer.
|
797
|
+
# @param username username of the user
|
798
|
+
# @param [Hash] opts the optional parameters
|
799
|
+
# @return [nil]
|
800
|
+
describe 'user_unblock_user test' do
|
801
|
+
it 'should work' do
|
802
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
803
|
+
end
|
804
|
+
end
|
805
|
+
|
806
|
+
# unit tests for user_update_avatar
|
807
|
+
# Update Avatar
|
808
|
+
# @param [Hash] opts the optional parameters
|
809
|
+
# @option opts [UpdateUserAvatarOption] :body
|
810
|
+
# @return [nil]
|
811
|
+
describe 'user_update_avatar test' do
|
812
|
+
it 'should work' do
|
813
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
814
|
+
end
|
815
|
+
end
|
816
|
+
|
817
|
+
# unit tests for user_update_o_auth2_application
|
818
|
+
# update an OAuth2 Application, this includes regenerating the client secret
|
819
|
+
# @param id application to be updated
|
820
|
+
# @param body
|
821
|
+
# @param [Hash] opts the optional parameters
|
822
|
+
# @return [OAuth2Application]
|
823
|
+
describe 'user_update_o_auth2_application test' do
|
824
|
+
it 'should work' do
|
825
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
826
|
+
end
|
827
|
+
end
|
828
|
+
|
829
|
+
# unit tests for user_verify_gpg_key
|
830
|
+
# Verify a GPG key
|
831
|
+
# @param [Hash] opts the optional parameters
|
832
|
+
# @return [GPGKey]
|
833
|
+
describe 'user_verify_gpg_key test' do
|
834
|
+
it 'should work' do
|
835
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
836
|
+
end
|
837
|
+
end
|
838
|
+
|
839
|
+
end
|