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,998 @@
|
|
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::IssueApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'IssueApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = Forgejo::IssueApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of IssueApi' do
|
30
|
+
it 'should create an instance of IssueApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(Forgejo::IssueApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for issue_add_label
|
36
|
+
# Add a label to an issue
|
37
|
+
# @param owner owner of the repo
|
38
|
+
# @param repo name of the repo
|
39
|
+
# @param index index of the issue
|
40
|
+
# @param [Hash] opts the optional parameters
|
41
|
+
# @option opts [IssueLabelsOption] :body
|
42
|
+
# @return [Array<Label>]
|
43
|
+
describe 'issue_add_label test' do
|
44
|
+
it 'should work' do
|
45
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
# unit tests for issue_add_subscription
|
50
|
+
# Subscribe user to issue
|
51
|
+
# @param owner owner of the repo
|
52
|
+
# @param repo name of the repo
|
53
|
+
# @param index index of the issue
|
54
|
+
# @param user user to subscribe
|
55
|
+
# @param [Hash] opts the optional parameters
|
56
|
+
# @return [nil]
|
57
|
+
describe 'issue_add_subscription test' do
|
58
|
+
it 'should work' do
|
59
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
# unit tests for issue_add_time
|
64
|
+
# Add tracked time to a issue
|
65
|
+
# @param owner owner of the repo
|
66
|
+
# @param repo name of the repo
|
67
|
+
# @param index index of the issue
|
68
|
+
# @param [Hash] opts the optional parameters
|
69
|
+
# @option opts [AddTimeOption] :body
|
70
|
+
# @return [TrackedTime]
|
71
|
+
describe 'issue_add_time test' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
# unit tests for issue_check_subscription
|
78
|
+
# Check if user is subscribed to an issue
|
79
|
+
# @param owner owner of the repo
|
80
|
+
# @param repo name of the repo
|
81
|
+
# @param index index of the issue
|
82
|
+
# @param [Hash] opts the optional parameters
|
83
|
+
# @return [WatchInfo]
|
84
|
+
describe 'issue_check_subscription 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 issue_clear_labels
|
91
|
+
# Remove all labels from an issue
|
92
|
+
# @param owner owner of the repo
|
93
|
+
# @param repo name of the repo
|
94
|
+
# @param index index of the issue
|
95
|
+
# @param [Hash] opts the optional parameters
|
96
|
+
# @option opts [DeleteLabelsOption] :body
|
97
|
+
# @return [nil]
|
98
|
+
describe 'issue_clear_labels test' do
|
99
|
+
it 'should work' do
|
100
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
# unit tests for issue_create_comment
|
105
|
+
# Add a comment to an issue
|
106
|
+
# @param owner owner of the repo
|
107
|
+
# @param repo name of the repo
|
108
|
+
# @param index index of the issue
|
109
|
+
# @param [Hash] opts the optional parameters
|
110
|
+
# @option opts [CreateIssueCommentOption] :body
|
111
|
+
# @return [Comment]
|
112
|
+
describe 'issue_create_comment test' do
|
113
|
+
it 'should work' do
|
114
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
# unit tests for issue_create_issue
|
119
|
+
# Create an issue. If using deadline only the date will be taken into account, and time of day ignored.
|
120
|
+
# @param owner owner of the repo
|
121
|
+
# @param repo name of the repo
|
122
|
+
# @param [Hash] opts the optional parameters
|
123
|
+
# @option opts [CreateIssueOption] :body
|
124
|
+
# @return [Issue]
|
125
|
+
describe 'issue_create_issue test' do
|
126
|
+
it 'should work' do
|
127
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
# unit tests for issue_create_issue_attachment
|
132
|
+
# Create an issue attachment
|
133
|
+
# @param owner owner of the repo
|
134
|
+
# @param repo name of the repo
|
135
|
+
# @param index index of the issue
|
136
|
+
# @param attachment attachment to upload
|
137
|
+
# @param [Hash] opts the optional parameters
|
138
|
+
# @option opts [String] :name name of the attachment
|
139
|
+
# @option opts [Time] :updated_at time of the attachment's creation. This is a timestamp in RFC 3339 format
|
140
|
+
# @return [Attachment]
|
141
|
+
describe 'issue_create_issue_attachment test' do
|
142
|
+
it 'should work' do
|
143
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
# unit tests for issue_create_issue_blocking
|
148
|
+
# Block the issue given in the body by the issue in path
|
149
|
+
# @param owner owner of the repo
|
150
|
+
# @param repo name of the repo
|
151
|
+
# @param index index of the issue
|
152
|
+
# @param [Hash] opts the optional parameters
|
153
|
+
# @option opts [IssueMeta] :body
|
154
|
+
# @return [Issue]
|
155
|
+
describe 'issue_create_issue_blocking test' do
|
156
|
+
it 'should work' do
|
157
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
# unit tests for issue_create_issue_comment_attachment
|
162
|
+
# Create a comment attachment
|
163
|
+
# @param owner owner of the repo
|
164
|
+
# @param repo name of the repo
|
165
|
+
# @param id id of the comment
|
166
|
+
# @param attachment attachment to upload
|
167
|
+
# @param [Hash] opts the optional parameters
|
168
|
+
# @option opts [String] :name name of the attachment
|
169
|
+
# @option opts [Time] :updated_at time of the attachment's creation. This is a timestamp in RFC 3339 format
|
170
|
+
# @return [Attachment]
|
171
|
+
describe 'issue_create_issue_comment_attachment test' do
|
172
|
+
it 'should work' do
|
173
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
177
|
+
# unit tests for issue_create_issue_dependencies
|
178
|
+
# Make the issue in the url depend on the issue in the form.
|
179
|
+
# @param owner owner of the repo
|
180
|
+
# @param repo name of the repo
|
181
|
+
# @param index index of the issue
|
182
|
+
# @param [Hash] opts the optional parameters
|
183
|
+
# @option opts [IssueMeta] :body
|
184
|
+
# @return [Issue]
|
185
|
+
describe 'issue_create_issue_dependencies test' do
|
186
|
+
it 'should work' do
|
187
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
191
|
+
# unit tests for issue_create_label
|
192
|
+
# Create a label
|
193
|
+
# @param owner owner of the repo
|
194
|
+
# @param repo name of the repo
|
195
|
+
# @param [Hash] opts the optional parameters
|
196
|
+
# @option opts [CreateLabelOption] :body
|
197
|
+
# @return [Label]
|
198
|
+
describe 'issue_create_label test' do
|
199
|
+
it 'should work' do
|
200
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
204
|
+
# unit tests for issue_create_milestone
|
205
|
+
# Create a milestone
|
206
|
+
# @param owner owner of the repo
|
207
|
+
# @param repo name of the repo
|
208
|
+
# @param [Hash] opts the optional parameters
|
209
|
+
# @option opts [CreateMilestoneOption] :body
|
210
|
+
# @return [Milestone]
|
211
|
+
describe 'issue_create_milestone test' do
|
212
|
+
it 'should work' do
|
213
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
214
|
+
end
|
215
|
+
end
|
216
|
+
|
217
|
+
# unit tests for issue_delete
|
218
|
+
# Delete an issue
|
219
|
+
# @param owner owner of the repo
|
220
|
+
# @param repo name of the repo
|
221
|
+
# @param index index of issue to delete
|
222
|
+
# @param [Hash] opts the optional parameters
|
223
|
+
# @return [nil]
|
224
|
+
describe 'issue_delete test' do
|
225
|
+
it 'should work' do
|
226
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
227
|
+
end
|
228
|
+
end
|
229
|
+
|
230
|
+
# unit tests for issue_delete_comment
|
231
|
+
# Delete a comment
|
232
|
+
# @param owner owner of the repo
|
233
|
+
# @param repo name of the repo
|
234
|
+
# @param id id of comment to delete
|
235
|
+
# @param [Hash] opts the optional parameters
|
236
|
+
# @return [nil]
|
237
|
+
describe 'issue_delete_comment test' do
|
238
|
+
it 'should work' do
|
239
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
243
|
+
# unit tests for issue_delete_comment_deprecated
|
244
|
+
# Delete a comment
|
245
|
+
# @param owner owner of the repo
|
246
|
+
# @param repo name of the repo
|
247
|
+
# @param index this parameter is ignored
|
248
|
+
# @param id id of comment to delete
|
249
|
+
# @param [Hash] opts the optional parameters
|
250
|
+
# @return [nil]
|
251
|
+
describe 'issue_delete_comment_deprecated test' do
|
252
|
+
it 'should work' do
|
253
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
254
|
+
end
|
255
|
+
end
|
256
|
+
|
257
|
+
# unit tests for issue_delete_comment_reaction
|
258
|
+
# Remove a reaction from a comment of an issue
|
259
|
+
# @param owner owner of the repo
|
260
|
+
# @param repo name of the repo
|
261
|
+
# @param id id of the comment to edit
|
262
|
+
# @param [Hash] opts the optional parameters
|
263
|
+
# @option opts [EditReactionOption] :content
|
264
|
+
# @return [nil]
|
265
|
+
describe 'issue_delete_comment_reaction 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 issue_delete_issue_attachment
|
272
|
+
# Delete an issue attachment
|
273
|
+
# @param owner owner of the repo
|
274
|
+
# @param repo name of the repo
|
275
|
+
# @param index index of the issue
|
276
|
+
# @param attachment_id id of the attachment to delete
|
277
|
+
# @param [Hash] opts the optional parameters
|
278
|
+
# @return [nil]
|
279
|
+
describe 'issue_delete_issue_attachment test' do
|
280
|
+
it 'should work' do
|
281
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
282
|
+
end
|
283
|
+
end
|
284
|
+
|
285
|
+
# unit tests for issue_delete_issue_comment_attachment
|
286
|
+
# Delete a comment attachment
|
287
|
+
# @param owner owner of the repo
|
288
|
+
# @param repo name of the repo
|
289
|
+
# @param id id of the comment
|
290
|
+
# @param attachment_id id of the attachment to delete
|
291
|
+
# @param [Hash] opts the optional parameters
|
292
|
+
# @return [nil]
|
293
|
+
describe 'issue_delete_issue_comment_attachment test' do
|
294
|
+
it 'should work' do
|
295
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
296
|
+
end
|
297
|
+
end
|
298
|
+
|
299
|
+
# unit tests for issue_delete_issue_reaction
|
300
|
+
# Remove a reaction from an issue
|
301
|
+
# @param owner owner of the repo
|
302
|
+
# @param repo name of the repo
|
303
|
+
# @param index index of the issue
|
304
|
+
# @param [Hash] opts the optional parameters
|
305
|
+
# @option opts [EditReactionOption] :content
|
306
|
+
# @return [nil]
|
307
|
+
describe 'issue_delete_issue_reaction test' do
|
308
|
+
it 'should work' do
|
309
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
310
|
+
end
|
311
|
+
end
|
312
|
+
|
313
|
+
# unit tests for issue_delete_label
|
314
|
+
# Delete a label
|
315
|
+
# @param owner owner of the repo
|
316
|
+
# @param repo name of the repo
|
317
|
+
# @param id id of the label to delete
|
318
|
+
# @param [Hash] opts the optional parameters
|
319
|
+
# @return [nil]
|
320
|
+
describe 'issue_delete_label test' do
|
321
|
+
it 'should work' do
|
322
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
323
|
+
end
|
324
|
+
end
|
325
|
+
|
326
|
+
# unit tests for issue_delete_milestone
|
327
|
+
# Delete a milestone
|
328
|
+
# @param owner owner of the repo
|
329
|
+
# @param repo name of the repo
|
330
|
+
# @param id the milestone to delete, identified by ID and if not available by name
|
331
|
+
# @param [Hash] opts the optional parameters
|
332
|
+
# @return [nil]
|
333
|
+
describe 'issue_delete_milestone test' do
|
334
|
+
it 'should work' do
|
335
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
336
|
+
end
|
337
|
+
end
|
338
|
+
|
339
|
+
# unit tests for issue_delete_stop_watch
|
340
|
+
# Delete an issue's existing stopwatch.
|
341
|
+
# @param owner owner of the repo
|
342
|
+
# @param repo name of the repo
|
343
|
+
# @param index index of the issue to stop the stopwatch on
|
344
|
+
# @param [Hash] opts the optional parameters
|
345
|
+
# @return [nil]
|
346
|
+
describe 'issue_delete_stop_watch 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 issue_delete_subscription
|
353
|
+
# Unsubscribe user from issue
|
354
|
+
# @param owner owner of the repo
|
355
|
+
# @param repo name of the repo
|
356
|
+
# @param index index of the issue
|
357
|
+
# @param user user witch unsubscribe
|
358
|
+
# @param [Hash] opts the optional parameters
|
359
|
+
# @return [nil]
|
360
|
+
describe 'issue_delete_subscription test' do
|
361
|
+
it 'should work' do
|
362
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
363
|
+
end
|
364
|
+
end
|
365
|
+
|
366
|
+
# unit tests for issue_delete_time
|
367
|
+
# Delete specific tracked time
|
368
|
+
# @param owner owner of the repo
|
369
|
+
# @param repo name of the repo
|
370
|
+
# @param index index of the issue
|
371
|
+
# @param id id of time to delete
|
372
|
+
# @param [Hash] opts the optional parameters
|
373
|
+
# @return [nil]
|
374
|
+
describe 'issue_delete_time test' do
|
375
|
+
it 'should work' do
|
376
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
377
|
+
end
|
378
|
+
end
|
379
|
+
|
380
|
+
# unit tests for issue_edit_comment
|
381
|
+
# Edit a comment
|
382
|
+
# @param owner owner of the repo
|
383
|
+
# @param repo name of the repo
|
384
|
+
# @param id id of the comment to edit
|
385
|
+
# @param [Hash] opts the optional parameters
|
386
|
+
# @option opts [EditIssueCommentOption] :body
|
387
|
+
# @return [Comment]
|
388
|
+
describe 'issue_edit_comment test' do
|
389
|
+
it 'should work' do
|
390
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
391
|
+
end
|
392
|
+
end
|
393
|
+
|
394
|
+
# unit tests for issue_edit_comment_deprecated
|
395
|
+
# Edit a comment
|
396
|
+
# @param owner owner of the repo
|
397
|
+
# @param repo name of the repo
|
398
|
+
# @param index this parameter is ignored
|
399
|
+
# @param id id of the comment to edit
|
400
|
+
# @param [Hash] opts the optional parameters
|
401
|
+
# @option opts [EditIssueCommentOption] :body
|
402
|
+
# @return [Comment]
|
403
|
+
describe 'issue_edit_comment_deprecated test' do
|
404
|
+
it 'should work' do
|
405
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
406
|
+
end
|
407
|
+
end
|
408
|
+
|
409
|
+
# unit tests for issue_edit_issue
|
410
|
+
# Edit an issue. If using deadline only the date will be taken into account, and time of day ignored.
|
411
|
+
# @param owner owner of the repo
|
412
|
+
# @param repo name of the repo
|
413
|
+
# @param index index of the issue to edit
|
414
|
+
# @param [Hash] opts the optional parameters
|
415
|
+
# @option opts [EditIssueOption] :body
|
416
|
+
# @return [Issue]
|
417
|
+
describe 'issue_edit_issue 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 issue_edit_issue_attachment
|
424
|
+
# Edit an issue attachment
|
425
|
+
# @param owner owner of the repo
|
426
|
+
# @param repo name of the repo
|
427
|
+
# @param index index of the issue
|
428
|
+
# @param attachment_id id of the attachment to edit
|
429
|
+
# @param [Hash] opts the optional parameters
|
430
|
+
# @option opts [EditAttachmentOptions] :body
|
431
|
+
# @return [Attachment]
|
432
|
+
describe 'issue_edit_issue_attachment test' do
|
433
|
+
it 'should work' do
|
434
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
435
|
+
end
|
436
|
+
end
|
437
|
+
|
438
|
+
# unit tests for issue_edit_issue_comment_attachment
|
439
|
+
# Edit a comment attachment
|
440
|
+
# @param owner owner of the repo
|
441
|
+
# @param repo name of the repo
|
442
|
+
# @param id id of the comment
|
443
|
+
# @param attachment_id id of the attachment to edit
|
444
|
+
# @param [Hash] opts the optional parameters
|
445
|
+
# @option opts [EditAttachmentOptions] :body
|
446
|
+
# @return [Attachment]
|
447
|
+
describe 'issue_edit_issue_comment_attachment test' do
|
448
|
+
it 'should work' do
|
449
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
450
|
+
end
|
451
|
+
end
|
452
|
+
|
453
|
+
# unit tests for issue_edit_issue_deadline
|
454
|
+
# Set an issue deadline. If set to null, the deadline is deleted. If using deadline only the date will be taken into account, and time of day ignored.
|
455
|
+
# @param owner owner of the repo
|
456
|
+
# @param repo name of the repo
|
457
|
+
# @param index index of the issue to create or update a deadline on
|
458
|
+
# @param [Hash] opts the optional parameters
|
459
|
+
# @option opts [EditDeadlineOption] :body
|
460
|
+
# @return [IssueDeadline]
|
461
|
+
describe 'issue_edit_issue_deadline test' do
|
462
|
+
it 'should work' do
|
463
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
464
|
+
end
|
465
|
+
end
|
466
|
+
|
467
|
+
# unit tests for issue_edit_label
|
468
|
+
# Update a label
|
469
|
+
# @param owner owner of the repo
|
470
|
+
# @param repo name of the repo
|
471
|
+
# @param id id of the label to edit
|
472
|
+
# @param [Hash] opts the optional parameters
|
473
|
+
# @option opts [EditLabelOption] :body
|
474
|
+
# @return [Label]
|
475
|
+
describe 'issue_edit_label test' do
|
476
|
+
it 'should work' do
|
477
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
478
|
+
end
|
479
|
+
end
|
480
|
+
|
481
|
+
# unit tests for issue_edit_milestone
|
482
|
+
# Update a milestone
|
483
|
+
# @param owner owner of the repo
|
484
|
+
# @param repo name of the repo
|
485
|
+
# @param id the milestone to edit, identified by ID and if not available by name
|
486
|
+
# @param [Hash] opts the optional parameters
|
487
|
+
# @option opts [EditMilestoneOption] :body
|
488
|
+
# @return [Milestone]
|
489
|
+
describe 'issue_edit_milestone test' do
|
490
|
+
it 'should work' do
|
491
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
492
|
+
end
|
493
|
+
end
|
494
|
+
|
495
|
+
# unit tests for issue_get_comment
|
496
|
+
# Get a comment
|
497
|
+
# @param owner owner of the repo
|
498
|
+
# @param repo name of the repo
|
499
|
+
# @param id id of the comment
|
500
|
+
# @param [Hash] opts the optional parameters
|
501
|
+
# @return [Comment]
|
502
|
+
describe 'issue_get_comment test' do
|
503
|
+
it 'should work' do
|
504
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
505
|
+
end
|
506
|
+
end
|
507
|
+
|
508
|
+
# unit tests for issue_get_comment_reactions
|
509
|
+
# Get a list of reactions from a comment of an issue
|
510
|
+
# @param owner owner of the repo
|
511
|
+
# @param repo name of the repo
|
512
|
+
# @param id id of the comment to edit
|
513
|
+
# @param [Hash] opts the optional parameters
|
514
|
+
# @return [Array<Reaction>]
|
515
|
+
describe 'issue_get_comment_reactions test' do
|
516
|
+
it 'should work' do
|
517
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
518
|
+
end
|
519
|
+
end
|
520
|
+
|
521
|
+
# unit tests for issue_get_comments
|
522
|
+
# List all comments on an issue
|
523
|
+
# @param owner owner of the repo
|
524
|
+
# @param repo name of the repo
|
525
|
+
# @param index index of the issue
|
526
|
+
# @param [Hash] opts the optional parameters
|
527
|
+
# @option opts [Time] :since if provided, only comments updated since the specified time are returned.
|
528
|
+
# @option opts [Time] :before if provided, only comments updated before the provided time are returned.
|
529
|
+
# @return [Array<Comment>]
|
530
|
+
describe 'issue_get_comments test' do
|
531
|
+
it 'should work' do
|
532
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
533
|
+
end
|
534
|
+
end
|
535
|
+
|
536
|
+
# unit tests for issue_get_comments_and_timeline
|
537
|
+
# List all comments and events on an issue
|
538
|
+
# @param owner owner of the repo
|
539
|
+
# @param repo name of the repo
|
540
|
+
# @param index index of the issue
|
541
|
+
# @param [Hash] opts the optional parameters
|
542
|
+
# @option opts [Time] :since if provided, only comments updated since the specified time are returned.
|
543
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
544
|
+
# @option opts [Integer] :limit page size of results
|
545
|
+
# @option opts [Time] :before if provided, only comments updated before the provided time are returned.
|
546
|
+
# @return [Array<TimelineComment>]
|
547
|
+
describe 'issue_get_comments_and_timeline test' do
|
548
|
+
it 'should work' do
|
549
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
550
|
+
end
|
551
|
+
end
|
552
|
+
|
553
|
+
# unit tests for issue_get_issue
|
554
|
+
# Get an issue
|
555
|
+
# @param owner owner of the repo
|
556
|
+
# @param repo name of the repo
|
557
|
+
# @param index index of the issue to get
|
558
|
+
# @param [Hash] opts the optional parameters
|
559
|
+
# @return [Issue]
|
560
|
+
describe 'issue_get_issue test' do
|
561
|
+
it 'should work' do
|
562
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
563
|
+
end
|
564
|
+
end
|
565
|
+
|
566
|
+
# unit tests for issue_get_issue_attachment
|
567
|
+
# Get an issue attachment
|
568
|
+
# @param owner owner of the repo
|
569
|
+
# @param repo name of the repo
|
570
|
+
# @param index index of the issue
|
571
|
+
# @param attachment_id id of the attachment to get
|
572
|
+
# @param [Hash] opts the optional parameters
|
573
|
+
# @return [Attachment]
|
574
|
+
describe 'issue_get_issue_attachment test' do
|
575
|
+
it 'should work' do
|
576
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
577
|
+
end
|
578
|
+
end
|
579
|
+
|
580
|
+
# unit tests for issue_get_issue_comment_attachment
|
581
|
+
# Get a comment attachment
|
582
|
+
# @param owner owner of the repo
|
583
|
+
# @param repo name of the repo
|
584
|
+
# @param id id of the comment
|
585
|
+
# @param attachment_id id of the attachment to get
|
586
|
+
# @param [Hash] opts the optional parameters
|
587
|
+
# @return [Attachment]
|
588
|
+
describe 'issue_get_issue_comment_attachment test' do
|
589
|
+
it 'should work' do
|
590
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
591
|
+
end
|
592
|
+
end
|
593
|
+
|
594
|
+
# unit tests for issue_get_issue_reactions
|
595
|
+
# Get a list reactions of an issue
|
596
|
+
# @param owner owner of the repo
|
597
|
+
# @param repo name of the repo
|
598
|
+
# @param index index of the issue
|
599
|
+
# @param [Hash] opts the optional parameters
|
600
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
601
|
+
# @option opts [Integer] :limit page size of results
|
602
|
+
# @return [Array<Reaction>]
|
603
|
+
describe 'issue_get_issue_reactions test' do
|
604
|
+
it 'should work' do
|
605
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
606
|
+
end
|
607
|
+
end
|
608
|
+
|
609
|
+
# unit tests for issue_get_label
|
610
|
+
# Get a single label
|
611
|
+
# @param owner owner of the repo
|
612
|
+
# @param repo name of the repo
|
613
|
+
# @param id id of the label to get
|
614
|
+
# @param [Hash] opts the optional parameters
|
615
|
+
# @return [Label]
|
616
|
+
describe 'issue_get_label test' do
|
617
|
+
it 'should work' do
|
618
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
619
|
+
end
|
620
|
+
end
|
621
|
+
|
622
|
+
# unit tests for issue_get_labels
|
623
|
+
# Get an issue's labels
|
624
|
+
# @param owner owner of the repo
|
625
|
+
# @param repo name of the repo
|
626
|
+
# @param index index of the issue
|
627
|
+
# @param [Hash] opts the optional parameters
|
628
|
+
# @return [Array<Label>]
|
629
|
+
describe 'issue_get_labels test' do
|
630
|
+
it 'should work' do
|
631
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
632
|
+
end
|
633
|
+
end
|
634
|
+
|
635
|
+
# unit tests for issue_get_milestone
|
636
|
+
# Get a milestone
|
637
|
+
# @param owner owner of the repo
|
638
|
+
# @param repo name of the repo
|
639
|
+
# @param id the milestone to get, identified by ID and if not available by name
|
640
|
+
# @param [Hash] opts the optional parameters
|
641
|
+
# @return [Milestone]
|
642
|
+
describe 'issue_get_milestone test' do
|
643
|
+
it 'should work' do
|
644
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
645
|
+
end
|
646
|
+
end
|
647
|
+
|
648
|
+
# unit tests for issue_get_milestones_list
|
649
|
+
# Get all of a repository's opened milestones
|
650
|
+
# @param owner owner of the repo
|
651
|
+
# @param repo name of the repo
|
652
|
+
# @param [Hash] opts the optional parameters
|
653
|
+
# @option opts [String] :state Milestone state, Recognized values are open, closed and all. Defaults to \"open\"
|
654
|
+
# @option opts [String] :name filter by milestone name
|
655
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
656
|
+
# @option opts [Integer] :limit page size of results
|
657
|
+
# @return [Array<Milestone>]
|
658
|
+
describe 'issue_get_milestones_list test' do
|
659
|
+
it 'should work' do
|
660
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
661
|
+
end
|
662
|
+
end
|
663
|
+
|
664
|
+
# unit tests for issue_get_repo_comments
|
665
|
+
# List all comments in a repository
|
666
|
+
# @param owner owner of the repo
|
667
|
+
# @param repo name of the repo
|
668
|
+
# @param [Hash] opts the optional parameters
|
669
|
+
# @option opts [Time] :since if provided, only comments updated since the provided time are returned.
|
670
|
+
# @option opts [Time] :before if provided, only comments updated before the provided time are returned.
|
671
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
672
|
+
# @option opts [Integer] :limit page size of results
|
673
|
+
# @return [Array<Comment>]
|
674
|
+
describe 'issue_get_repo_comments test' do
|
675
|
+
it 'should work' do
|
676
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
677
|
+
end
|
678
|
+
end
|
679
|
+
|
680
|
+
# unit tests for issue_list_blocks
|
681
|
+
# List issues that are blocked by this issue
|
682
|
+
# @param owner owner of the repo
|
683
|
+
# @param repo name of the repo
|
684
|
+
# @param index index of the issue
|
685
|
+
# @param [Hash] opts the optional parameters
|
686
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
687
|
+
# @option opts [Integer] :limit page size of results
|
688
|
+
# @return [Array<Issue>]
|
689
|
+
describe 'issue_list_blocks test' do
|
690
|
+
it 'should work' do
|
691
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
692
|
+
end
|
693
|
+
end
|
694
|
+
|
695
|
+
# unit tests for issue_list_issue_attachments
|
696
|
+
# List issue's attachments
|
697
|
+
# @param owner owner of the repo
|
698
|
+
# @param repo name of the repo
|
699
|
+
# @param index index of the issue
|
700
|
+
# @param [Hash] opts the optional parameters
|
701
|
+
# @return [Array<Attachment>]
|
702
|
+
describe 'issue_list_issue_attachments test' do
|
703
|
+
it 'should work' do
|
704
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
705
|
+
end
|
706
|
+
end
|
707
|
+
|
708
|
+
# unit tests for issue_list_issue_comment_attachments
|
709
|
+
# List comment's attachments
|
710
|
+
# @param owner owner of the repo
|
711
|
+
# @param repo name of the repo
|
712
|
+
# @param id id of the comment
|
713
|
+
# @param [Hash] opts the optional parameters
|
714
|
+
# @return [Array<Attachment>]
|
715
|
+
describe 'issue_list_issue_comment_attachments test' do
|
716
|
+
it 'should work' do
|
717
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
718
|
+
end
|
719
|
+
end
|
720
|
+
|
721
|
+
# unit tests for issue_list_issue_dependencies
|
722
|
+
# List an issue's dependencies, i.e all issues that block this issue.
|
723
|
+
# @param owner owner of the repo
|
724
|
+
# @param repo name of the repo
|
725
|
+
# @param index index of the issue
|
726
|
+
# @param [Hash] opts the optional parameters
|
727
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
728
|
+
# @option opts [Integer] :limit page size of results
|
729
|
+
# @return [Array<Issue>]
|
730
|
+
describe 'issue_list_issue_dependencies test' do
|
731
|
+
it 'should work' do
|
732
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
733
|
+
end
|
734
|
+
end
|
735
|
+
|
736
|
+
# unit tests for issue_list_issues
|
737
|
+
# List a repository's issues
|
738
|
+
# @param owner owner of the repo
|
739
|
+
# @param repo name of the repo
|
740
|
+
# @param [Hash] opts the optional parameters
|
741
|
+
# @option opts [String] :state whether issue is open or closed
|
742
|
+
# @option opts [String] :labels comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded
|
743
|
+
# @option opts [String] :q search string
|
744
|
+
# @option opts [String] :type filter by type (issues / pulls) if set
|
745
|
+
# @option opts [String] :milestones comma separated list of milestone names or ids. It uses names and fall back to ids. Fetch only issues that have any of this milestones. Non existent milestones are discarded
|
746
|
+
# @option opts [Time] :since Only show items updated after the given time. This is a timestamp in RFC 3339 format
|
747
|
+
# @option opts [Time] :before Only show items updated before the given time. This is a timestamp in RFC 3339 format
|
748
|
+
# @option opts [String] :created_by Only show items which were created by the given user
|
749
|
+
# @option opts [String] :assigned_by Only show items for which the given user is assigned
|
750
|
+
# @option opts [String] :mentioned_by Only show items in which the given user was mentioned
|
751
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
752
|
+
# @option opts [Integer] :limit page size of results
|
753
|
+
# @return [Array<Issue>]
|
754
|
+
describe 'issue_list_issues test' do
|
755
|
+
it 'should work' do
|
756
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
757
|
+
end
|
758
|
+
end
|
759
|
+
|
760
|
+
# unit tests for issue_list_labels
|
761
|
+
# Get all of a repository's labels
|
762
|
+
# @param owner owner of the repo
|
763
|
+
# @param repo name of the repo
|
764
|
+
# @param [Hash] opts the optional parameters
|
765
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
766
|
+
# @option opts [Integer] :limit page size of results
|
767
|
+
# @return [Array<Label>]
|
768
|
+
describe 'issue_list_labels test' do
|
769
|
+
it 'should work' do
|
770
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
771
|
+
end
|
772
|
+
end
|
773
|
+
|
774
|
+
# unit tests for issue_post_comment_reaction
|
775
|
+
# Add a reaction to a comment of an issue
|
776
|
+
# @param owner owner of the repo
|
777
|
+
# @param repo name of the repo
|
778
|
+
# @param id id of the comment to edit
|
779
|
+
# @param [Hash] opts the optional parameters
|
780
|
+
# @option opts [EditReactionOption] :content
|
781
|
+
# @return [Reaction]
|
782
|
+
describe 'issue_post_comment_reaction test' do
|
783
|
+
it 'should work' do
|
784
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
785
|
+
end
|
786
|
+
end
|
787
|
+
|
788
|
+
# unit tests for issue_post_issue_reaction
|
789
|
+
# Add a reaction to an issue
|
790
|
+
# @param owner owner of the repo
|
791
|
+
# @param repo name of the repo
|
792
|
+
# @param index index of the issue
|
793
|
+
# @param [Hash] opts the optional parameters
|
794
|
+
# @option opts [EditReactionOption] :content
|
795
|
+
# @return [Reaction]
|
796
|
+
describe 'issue_post_issue_reaction test' do
|
797
|
+
it 'should work' do
|
798
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
799
|
+
end
|
800
|
+
end
|
801
|
+
|
802
|
+
# unit tests for issue_remove_issue_blocking
|
803
|
+
# Unblock the issue given in the body by the issue in path
|
804
|
+
# @param owner owner of the repo
|
805
|
+
# @param repo name of the repo
|
806
|
+
# @param index index of the issue
|
807
|
+
# @param [Hash] opts the optional parameters
|
808
|
+
# @option opts [IssueMeta] :body
|
809
|
+
# @return [Issue]
|
810
|
+
describe 'issue_remove_issue_blocking test' do
|
811
|
+
it 'should work' do
|
812
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
813
|
+
end
|
814
|
+
end
|
815
|
+
|
816
|
+
# unit tests for issue_remove_issue_dependencies
|
817
|
+
# Remove an issue dependency
|
818
|
+
# @param owner owner of the repo
|
819
|
+
# @param repo name of the repo
|
820
|
+
# @param index index of the issue
|
821
|
+
# @param [Hash] opts the optional parameters
|
822
|
+
# @option opts [IssueMeta] :body
|
823
|
+
# @return [Issue]
|
824
|
+
describe 'issue_remove_issue_dependencies test' do
|
825
|
+
it 'should work' do
|
826
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
827
|
+
end
|
828
|
+
end
|
829
|
+
|
830
|
+
# unit tests for issue_remove_label
|
831
|
+
# Remove a label from an issue
|
832
|
+
# @param owner owner of the repo
|
833
|
+
# @param repo name of the repo
|
834
|
+
# @param index index of the issue
|
835
|
+
# @param id id of the label to remove
|
836
|
+
# @param [Hash] opts the optional parameters
|
837
|
+
# @option opts [DeleteLabelsOption] :body
|
838
|
+
# @return [nil]
|
839
|
+
describe 'issue_remove_label test' do
|
840
|
+
it 'should work' do
|
841
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
842
|
+
end
|
843
|
+
end
|
844
|
+
|
845
|
+
# unit tests for issue_replace_labels
|
846
|
+
# Replace an issue's labels
|
847
|
+
# @param owner owner of the repo
|
848
|
+
# @param repo name of the repo
|
849
|
+
# @param index index of the issue
|
850
|
+
# @param [Hash] opts the optional parameters
|
851
|
+
# @option opts [IssueLabelsOption] :body
|
852
|
+
# @return [Array<Label>]
|
853
|
+
describe 'issue_replace_labels test' do
|
854
|
+
it 'should work' do
|
855
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
856
|
+
end
|
857
|
+
end
|
858
|
+
|
859
|
+
# unit tests for issue_reset_time
|
860
|
+
# Reset a tracked time of an issue
|
861
|
+
# @param owner owner of the repo
|
862
|
+
# @param repo name of the repo
|
863
|
+
# @param index index of the issue to add tracked time to
|
864
|
+
# @param [Hash] opts the optional parameters
|
865
|
+
# @return [nil]
|
866
|
+
describe 'issue_reset_time test' do
|
867
|
+
it 'should work' do
|
868
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
869
|
+
end
|
870
|
+
end
|
871
|
+
|
872
|
+
# unit tests for issue_search_issues
|
873
|
+
# Search for issues across the repositories that the user has access to
|
874
|
+
# @param [Hash] opts the optional parameters
|
875
|
+
# @option opts [String] :state whether issue is open or closed
|
876
|
+
# @option opts [String] :labels comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded
|
877
|
+
# @option opts [String] :milestones comma separated list of milestone names. Fetch only issues that have any of this milestones. Non existent are discarded
|
878
|
+
# @option opts [String] :q search string
|
879
|
+
# @option opts [Integer] :priority_repo_id repository to prioritize in the results
|
880
|
+
# @option opts [String] :type filter by type (issues / pulls) if set
|
881
|
+
# @option opts [Time] :since Only show notifications updated after the given time. This is a timestamp in RFC 3339 format
|
882
|
+
# @option opts [Time] :before Only show notifications updated before the given time. This is a timestamp in RFC 3339 format
|
883
|
+
# @option opts [Boolean] :assigned filter (issues / pulls) assigned to you, default is false
|
884
|
+
# @option opts [Boolean] :created filter (issues / pulls) created by you, default is false
|
885
|
+
# @option opts [Boolean] :mentioned filter (issues / pulls) mentioning you, default is false
|
886
|
+
# @option opts [Boolean] :review_requested filter pulls requesting your review, default is false
|
887
|
+
# @option opts [Boolean] :reviewed filter pulls reviewed by you, default is false
|
888
|
+
# @option opts [String] :owner filter by owner
|
889
|
+
# @option opts [String] :team filter by team (requires organization owner parameter to be provided)
|
890
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
891
|
+
# @option opts [Integer] :limit page size of results
|
892
|
+
# @return [Array<Issue>]
|
893
|
+
describe 'issue_search_issues test' do
|
894
|
+
it 'should work' do
|
895
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
896
|
+
end
|
897
|
+
end
|
898
|
+
|
899
|
+
# unit tests for issue_start_stop_watch
|
900
|
+
# Start stopwatch on an issue.
|
901
|
+
# @param owner owner of the repo
|
902
|
+
# @param repo name of the repo
|
903
|
+
# @param index index of the issue to create the stopwatch on
|
904
|
+
# @param [Hash] opts the optional parameters
|
905
|
+
# @return [nil]
|
906
|
+
describe 'issue_start_stop_watch test' do
|
907
|
+
it 'should work' do
|
908
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
909
|
+
end
|
910
|
+
end
|
911
|
+
|
912
|
+
# unit tests for issue_stop_stop_watch
|
913
|
+
# Stop an issue's existing stopwatch.
|
914
|
+
# @param owner owner of the repo
|
915
|
+
# @param repo name of the repo
|
916
|
+
# @param index index of the issue to stop the stopwatch on
|
917
|
+
# @param [Hash] opts the optional parameters
|
918
|
+
# @return [nil]
|
919
|
+
describe 'issue_stop_stop_watch test' do
|
920
|
+
it 'should work' do
|
921
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
922
|
+
end
|
923
|
+
end
|
924
|
+
|
925
|
+
# unit tests for issue_subscriptions
|
926
|
+
# Get users who subscribed on an issue.
|
927
|
+
# @param owner owner of the repo
|
928
|
+
# @param repo name of the repo
|
929
|
+
# @param index index of the issue
|
930
|
+
# @param [Hash] opts the optional parameters
|
931
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
932
|
+
# @option opts [Integer] :limit page size of results
|
933
|
+
# @return [Array<User>]
|
934
|
+
describe 'issue_subscriptions test' do
|
935
|
+
it 'should work' do
|
936
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
937
|
+
end
|
938
|
+
end
|
939
|
+
|
940
|
+
# unit tests for issue_tracked_times
|
941
|
+
# List an issue's tracked times
|
942
|
+
# @param owner owner of the repo
|
943
|
+
# @param repo name of the repo
|
944
|
+
# @param index index of the issue
|
945
|
+
# @param [Hash] opts the optional parameters
|
946
|
+
# @option opts [String] :user optional filter by user (available for issue managers)
|
947
|
+
# @option opts [Time] :since Only show times updated after the given time. This is a timestamp in RFC 3339 format
|
948
|
+
# @option opts [Time] :before Only show times updated before the given time. This is a timestamp in RFC 3339 format
|
949
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
950
|
+
# @option opts [Integer] :limit page size of results
|
951
|
+
# @return [Array<TrackedTime>]
|
952
|
+
describe 'issue_tracked_times test' do
|
953
|
+
it 'should work' do
|
954
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
955
|
+
end
|
956
|
+
end
|
957
|
+
|
958
|
+
# unit tests for move_issue_pin
|
959
|
+
# Moves the Pin to the given Position
|
960
|
+
# @param owner owner of the repo
|
961
|
+
# @param repo name of the repo
|
962
|
+
# @param index index of issue
|
963
|
+
# @param position the new position
|
964
|
+
# @param [Hash] opts the optional parameters
|
965
|
+
# @return [nil]
|
966
|
+
describe 'move_issue_pin test' do
|
967
|
+
it 'should work' do
|
968
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
969
|
+
end
|
970
|
+
end
|
971
|
+
|
972
|
+
# unit tests for pin_issue
|
973
|
+
# Pin an Issue
|
974
|
+
# @param owner owner of the repo
|
975
|
+
# @param repo name of the repo
|
976
|
+
# @param index index of issue to pin
|
977
|
+
# @param [Hash] opts the optional parameters
|
978
|
+
# @return [nil]
|
979
|
+
describe 'pin_issue test' do
|
980
|
+
it 'should work' do
|
981
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
982
|
+
end
|
983
|
+
end
|
984
|
+
|
985
|
+
# unit tests for unpin_issue
|
986
|
+
# Unpin an Issue
|
987
|
+
# @param owner owner of the repo
|
988
|
+
# @param repo name of the repo
|
989
|
+
# @param index index of issue to unpin
|
990
|
+
# @param [Hash] opts the optional parameters
|
991
|
+
# @return [nil]
|
992
|
+
describe 'unpin_issue test' do
|
993
|
+
it 'should work' do
|
994
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
995
|
+
end
|
996
|
+
end
|
997
|
+
|
998
|
+
end
|