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,752 @@
|
|
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::OrganizationApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'OrganizationApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = Forgejo::OrganizationApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of OrganizationApi' do
|
30
|
+
it 'should create an instance of OrganizationApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(Forgejo::OrganizationApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for create_org_repo
|
36
|
+
# Create a repository in an organization
|
37
|
+
# @param org name of organization
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [CreateRepoOption] :body
|
40
|
+
# @return [Repository]
|
41
|
+
describe 'create_org_repo test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for create_org_repo_deprecated
|
48
|
+
# Create a repository in an organization
|
49
|
+
# @param org name of organization
|
50
|
+
# @param [Hash] opts the optional parameters
|
51
|
+
# @option opts [CreateRepoOption] :body
|
52
|
+
# @return [Repository]
|
53
|
+
describe 'create_org_repo_deprecated test' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# unit tests for create_org_variable
|
60
|
+
# Create an org-level variable
|
61
|
+
# @param org name of the organization
|
62
|
+
# @param variablename name of the variable
|
63
|
+
# @param [Hash] opts the optional parameters
|
64
|
+
# @option opts [CreateVariableOption] :body
|
65
|
+
# @return [nil]
|
66
|
+
describe 'create_org_variable test' do
|
67
|
+
it 'should work' do
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
# unit tests for delete_org_secret
|
73
|
+
# Delete a secret in an organization
|
74
|
+
# @param org name of organization
|
75
|
+
# @param secretname name of the secret
|
76
|
+
# @param [Hash] opts the optional parameters
|
77
|
+
# @return [nil]
|
78
|
+
describe 'delete_org_secret test' do
|
79
|
+
it 'should work' do
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
# unit tests for delete_org_variable
|
85
|
+
# Delete an org-level variable
|
86
|
+
# @param org name of the organization
|
87
|
+
# @param variablename name of the variable
|
88
|
+
# @param [Hash] opts the optional parameters
|
89
|
+
# @return [ActionVariable]
|
90
|
+
describe 'delete_org_variable test' do
|
91
|
+
it 'should work' do
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
# unit tests for get_org_variable
|
97
|
+
# Get an org-level variable
|
98
|
+
# @param org name of the organization
|
99
|
+
# @param variablename name of the variable
|
100
|
+
# @param [Hash] opts the optional parameters
|
101
|
+
# @return [ActionVariable]
|
102
|
+
describe 'get_org_variable test' do
|
103
|
+
it 'should work' do
|
104
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
# unit tests for get_org_variables_list
|
109
|
+
# Get an org-level variables list
|
110
|
+
# @param org name of the organization
|
111
|
+
# @param [Hash] opts the optional parameters
|
112
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
113
|
+
# @option opts [Integer] :limit page size of results
|
114
|
+
# @return [Array<ActionVariable>]
|
115
|
+
describe 'get_org_variables_list test' do
|
116
|
+
it 'should work' do
|
117
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
121
|
+
# unit tests for org_add_team_member
|
122
|
+
# Add a team member
|
123
|
+
# @param id id of the team
|
124
|
+
# @param username username of the user to add
|
125
|
+
# @param [Hash] opts the optional parameters
|
126
|
+
# @return [nil]
|
127
|
+
describe 'org_add_team_member test' do
|
128
|
+
it 'should work' do
|
129
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
# unit tests for org_add_team_repository
|
134
|
+
# Add a repository to a team
|
135
|
+
# @param id id of the team
|
136
|
+
# @param org organization that owns the repo to add
|
137
|
+
# @param repo name of the repo to add
|
138
|
+
# @param [Hash] opts the optional parameters
|
139
|
+
# @return [nil]
|
140
|
+
describe 'org_add_team_repository 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 org_block_user
|
147
|
+
# Blocks a user from the organization
|
148
|
+
# @param org name of the org
|
149
|
+
# @param username username of the user
|
150
|
+
# @param [Hash] opts the optional parameters
|
151
|
+
# @return [nil]
|
152
|
+
describe 'org_block_user 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 org_conceal_member
|
159
|
+
# Conceal a user's membership
|
160
|
+
# @param org name of the organization
|
161
|
+
# @param username username of the user
|
162
|
+
# @param [Hash] opts the optional parameters
|
163
|
+
# @return [nil]
|
164
|
+
describe 'org_conceal_member test' do
|
165
|
+
it 'should work' do
|
166
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
167
|
+
end
|
168
|
+
end
|
169
|
+
|
170
|
+
# unit tests for org_create
|
171
|
+
# Create an organization
|
172
|
+
# @param organization
|
173
|
+
# @param [Hash] opts the optional parameters
|
174
|
+
# @return [Organization]
|
175
|
+
describe 'org_create test' do
|
176
|
+
it 'should work' do
|
177
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
178
|
+
end
|
179
|
+
end
|
180
|
+
|
181
|
+
# unit tests for org_create_hook
|
182
|
+
# Create a hook
|
183
|
+
# @param org name of the organization
|
184
|
+
# @param body
|
185
|
+
# @param [Hash] opts the optional parameters
|
186
|
+
# @return [Hook]
|
187
|
+
describe 'org_create_hook test' do
|
188
|
+
it 'should work' do
|
189
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
190
|
+
end
|
191
|
+
end
|
192
|
+
|
193
|
+
# unit tests for org_create_label
|
194
|
+
# Create a label for an organization
|
195
|
+
# @param org name of the organization
|
196
|
+
# @param [Hash] opts the optional parameters
|
197
|
+
# @option opts [CreateLabelOption] :body
|
198
|
+
# @return [Label]
|
199
|
+
describe 'org_create_label test' do
|
200
|
+
it 'should work' do
|
201
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
205
|
+
# unit tests for org_create_team
|
206
|
+
# Create a team
|
207
|
+
# @param org name of the organization
|
208
|
+
# @param [Hash] opts the optional parameters
|
209
|
+
# @option opts [CreateTeamOption] :body
|
210
|
+
# @return [Team]
|
211
|
+
describe 'org_create_team 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 org_delete
|
218
|
+
# Delete an organization
|
219
|
+
# @param org organization that is to be deleted
|
220
|
+
# @param [Hash] opts the optional parameters
|
221
|
+
# @return [nil]
|
222
|
+
describe 'org_delete test' do
|
223
|
+
it 'should work' do
|
224
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
225
|
+
end
|
226
|
+
end
|
227
|
+
|
228
|
+
# unit tests for org_delete_avatar
|
229
|
+
# Delete Avatar
|
230
|
+
# @param org name of the organization
|
231
|
+
# @param [Hash] opts the optional parameters
|
232
|
+
# @return [nil]
|
233
|
+
describe 'org_delete_avatar test' do
|
234
|
+
it 'should work' do
|
235
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
236
|
+
end
|
237
|
+
end
|
238
|
+
|
239
|
+
# unit tests for org_delete_hook
|
240
|
+
# Delete a hook
|
241
|
+
# @param org name of the organization
|
242
|
+
# @param id id of the hook to delete
|
243
|
+
# @param [Hash] opts the optional parameters
|
244
|
+
# @return [nil]
|
245
|
+
describe 'org_delete_hook test' do
|
246
|
+
it 'should work' do
|
247
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
248
|
+
end
|
249
|
+
end
|
250
|
+
|
251
|
+
# unit tests for org_delete_label
|
252
|
+
# Delete a label
|
253
|
+
# @param org name of the organization
|
254
|
+
# @param id id of the label to delete
|
255
|
+
# @param [Hash] opts the optional parameters
|
256
|
+
# @return [nil]
|
257
|
+
describe 'org_delete_label test' do
|
258
|
+
it 'should work' do
|
259
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
260
|
+
end
|
261
|
+
end
|
262
|
+
|
263
|
+
# unit tests for org_delete_member
|
264
|
+
# Remove a member from an organization
|
265
|
+
# @param org name of the organization
|
266
|
+
# @param username username of the user
|
267
|
+
# @param [Hash] opts the optional parameters
|
268
|
+
# @return [nil]
|
269
|
+
describe 'org_delete_member test' do
|
270
|
+
it 'should work' do
|
271
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
272
|
+
end
|
273
|
+
end
|
274
|
+
|
275
|
+
# unit tests for org_delete_team
|
276
|
+
# Delete a team
|
277
|
+
# @param id id of the team to delete
|
278
|
+
# @param [Hash] opts the optional parameters
|
279
|
+
# @return [nil]
|
280
|
+
describe 'org_delete_team test' do
|
281
|
+
it 'should work' do
|
282
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
283
|
+
end
|
284
|
+
end
|
285
|
+
|
286
|
+
# unit tests for org_edit
|
287
|
+
# Edit an organization
|
288
|
+
# @param org name of the organization to edit
|
289
|
+
# @param body
|
290
|
+
# @param [Hash] opts the optional parameters
|
291
|
+
# @return [Organization]
|
292
|
+
describe 'org_edit test' do
|
293
|
+
it 'should work' do
|
294
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
295
|
+
end
|
296
|
+
end
|
297
|
+
|
298
|
+
# unit tests for org_edit_hook
|
299
|
+
# Update a hook
|
300
|
+
# @param org name of the organization
|
301
|
+
# @param id id of the hook to update
|
302
|
+
# @param [Hash] opts the optional parameters
|
303
|
+
# @option opts [EditHookOption] :body
|
304
|
+
# @return [Hook]
|
305
|
+
describe 'org_edit_hook test' do
|
306
|
+
it 'should work' do
|
307
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
308
|
+
end
|
309
|
+
end
|
310
|
+
|
311
|
+
# unit tests for org_edit_label
|
312
|
+
# Update a label
|
313
|
+
# @param org name of the organization
|
314
|
+
# @param id id of the label to edit
|
315
|
+
# @param [Hash] opts the optional parameters
|
316
|
+
# @option opts [EditLabelOption] :body
|
317
|
+
# @return [Label]
|
318
|
+
describe 'org_edit_label test' do
|
319
|
+
it 'should work' do
|
320
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
321
|
+
end
|
322
|
+
end
|
323
|
+
|
324
|
+
# unit tests for org_edit_team
|
325
|
+
# Edit a team
|
326
|
+
# @param id id of the team to edit
|
327
|
+
# @param [Hash] opts the optional parameters
|
328
|
+
# @option opts [EditTeamOption] :body
|
329
|
+
# @return [Team]
|
330
|
+
describe 'org_edit_team test' do
|
331
|
+
it 'should work' do
|
332
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
333
|
+
end
|
334
|
+
end
|
335
|
+
|
336
|
+
# unit tests for org_get
|
337
|
+
# Get an organization
|
338
|
+
# @param org name of the organization to get
|
339
|
+
# @param [Hash] opts the optional parameters
|
340
|
+
# @return [Organization]
|
341
|
+
describe 'org_get test' do
|
342
|
+
it 'should work' do
|
343
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
344
|
+
end
|
345
|
+
end
|
346
|
+
|
347
|
+
# unit tests for org_get_all
|
348
|
+
# Get list of organizations
|
349
|
+
# @param [Hash] opts the optional parameters
|
350
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
351
|
+
# @option opts [Integer] :limit page size of results
|
352
|
+
# @return [Array<Organization>]
|
353
|
+
describe 'org_get_all test' do
|
354
|
+
it 'should work' do
|
355
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
356
|
+
end
|
357
|
+
end
|
358
|
+
|
359
|
+
# unit tests for org_get_hook
|
360
|
+
# Get a hook
|
361
|
+
# @param org name of the organization
|
362
|
+
# @param id id of the hook to get
|
363
|
+
# @param [Hash] opts the optional parameters
|
364
|
+
# @return [Hook]
|
365
|
+
describe 'org_get_hook test' do
|
366
|
+
it 'should work' do
|
367
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
368
|
+
end
|
369
|
+
end
|
370
|
+
|
371
|
+
# unit tests for org_get_label
|
372
|
+
# Get a single label
|
373
|
+
# @param org name of the organization
|
374
|
+
# @param id id of the label to get
|
375
|
+
# @param [Hash] opts the optional parameters
|
376
|
+
# @return [Label]
|
377
|
+
describe 'org_get_label test' do
|
378
|
+
it 'should work' do
|
379
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
380
|
+
end
|
381
|
+
end
|
382
|
+
|
383
|
+
# unit tests for org_get_runner_registration_token
|
384
|
+
# Get an organization's actions runner registration token
|
385
|
+
# @param org name of the organization
|
386
|
+
# @param [Hash] opts the optional parameters
|
387
|
+
# @return [nil]
|
388
|
+
describe 'org_get_runner_registration_token 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 org_get_team
|
395
|
+
# Get a team
|
396
|
+
# @param id id of the team to get
|
397
|
+
# @param [Hash] opts the optional parameters
|
398
|
+
# @return [Team]
|
399
|
+
describe 'org_get_team test' do
|
400
|
+
it 'should work' do
|
401
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
402
|
+
end
|
403
|
+
end
|
404
|
+
|
405
|
+
# unit tests for org_get_user_permissions
|
406
|
+
# Get user permissions in organization
|
407
|
+
# @param username username of user
|
408
|
+
# @param org name of the organization
|
409
|
+
# @param [Hash] opts the optional parameters
|
410
|
+
# @return [OrganizationPermissions]
|
411
|
+
describe 'org_get_user_permissions test' do
|
412
|
+
it 'should work' do
|
413
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
414
|
+
end
|
415
|
+
end
|
416
|
+
|
417
|
+
# unit tests for org_is_member
|
418
|
+
# Check if a user is a member of an organization
|
419
|
+
# @param org name of the organization
|
420
|
+
# @param username username of the user
|
421
|
+
# @param [Hash] opts the optional parameters
|
422
|
+
# @return [nil]
|
423
|
+
describe 'org_is_member test' do
|
424
|
+
it 'should work' do
|
425
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
426
|
+
end
|
427
|
+
end
|
428
|
+
|
429
|
+
# unit tests for org_is_public_member
|
430
|
+
# Check if a user is a public member of an organization
|
431
|
+
# @param org name of the organization
|
432
|
+
# @param username username of the user
|
433
|
+
# @param [Hash] opts the optional parameters
|
434
|
+
# @return [nil]
|
435
|
+
describe 'org_is_public_member test' do
|
436
|
+
it 'should work' do
|
437
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
438
|
+
end
|
439
|
+
end
|
440
|
+
|
441
|
+
# unit tests for org_list_actions_secrets
|
442
|
+
# List an organization's actions secrets
|
443
|
+
# @param org name of the organization
|
444
|
+
# @param [Hash] opts the optional parameters
|
445
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
446
|
+
# @option opts [Integer] :limit page size of results
|
447
|
+
# @return [Array<Secret>]
|
448
|
+
describe 'org_list_actions_secrets test' do
|
449
|
+
it 'should work' do
|
450
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
451
|
+
end
|
452
|
+
end
|
453
|
+
|
454
|
+
# unit tests for org_list_activity_feeds
|
455
|
+
# List an organization's activity feeds
|
456
|
+
# @param org name of the org
|
457
|
+
# @param [Hash] opts the optional parameters
|
458
|
+
# @option opts [Date] :date the date of the activities to be found
|
459
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
460
|
+
# @option opts [Integer] :limit page size of results
|
461
|
+
# @return [Array<Activity>]
|
462
|
+
describe 'org_list_activity_feeds test' do
|
463
|
+
it 'should work' do
|
464
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
465
|
+
end
|
466
|
+
end
|
467
|
+
|
468
|
+
# unit tests for org_list_blocked_users
|
469
|
+
# List the organization's blocked users
|
470
|
+
# @param org name of the org
|
471
|
+
# @param [Hash] opts the optional parameters
|
472
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
473
|
+
# @option opts [Integer] :limit page size of results
|
474
|
+
# @return [Array<BlockedUser>]
|
475
|
+
describe 'org_list_blocked_users 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 org_list_current_user_orgs
|
482
|
+
# List the current user's organizations
|
483
|
+
# @param [Hash] opts the optional parameters
|
484
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
485
|
+
# @option opts [Integer] :limit page size of results
|
486
|
+
# @return [Array<Organization>]
|
487
|
+
describe 'org_list_current_user_orgs 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 org_list_hooks
|
494
|
+
# List an organization's webhooks
|
495
|
+
# @param org name of the organization
|
496
|
+
# @param [Hash] opts the optional parameters
|
497
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
498
|
+
# @option opts [Integer] :limit page size of results
|
499
|
+
# @return [Array<Hook>]
|
500
|
+
describe 'org_list_hooks test' do
|
501
|
+
it 'should work' do
|
502
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
503
|
+
end
|
504
|
+
end
|
505
|
+
|
506
|
+
# unit tests for org_list_labels
|
507
|
+
# List an organization's labels
|
508
|
+
# @param org name of the organization
|
509
|
+
# @param [Hash] opts the optional parameters
|
510
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
511
|
+
# @option opts [Integer] :limit page size of results
|
512
|
+
# @return [Array<Label>]
|
513
|
+
describe 'org_list_labels test' do
|
514
|
+
it 'should work' do
|
515
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
516
|
+
end
|
517
|
+
end
|
518
|
+
|
519
|
+
# unit tests for org_list_members
|
520
|
+
# List an organization's members
|
521
|
+
# @param org name of the organization
|
522
|
+
# @param [Hash] opts the optional parameters
|
523
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
524
|
+
# @option opts [Integer] :limit page size of results
|
525
|
+
# @return [Array<User>]
|
526
|
+
describe 'org_list_members test' do
|
527
|
+
it 'should work' do
|
528
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
529
|
+
end
|
530
|
+
end
|
531
|
+
|
532
|
+
# unit tests for org_list_public_members
|
533
|
+
# List an organization's public members
|
534
|
+
# @param org name of the organization
|
535
|
+
# @param [Hash] opts the optional parameters
|
536
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
537
|
+
# @option opts [Integer] :limit page size of results
|
538
|
+
# @return [Array<User>]
|
539
|
+
describe 'org_list_public_members test' do
|
540
|
+
it 'should work' do
|
541
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
542
|
+
end
|
543
|
+
end
|
544
|
+
|
545
|
+
# unit tests for org_list_repos
|
546
|
+
# List an organization's repos
|
547
|
+
# @param org name of the organization
|
548
|
+
# @param [Hash] opts the optional parameters
|
549
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
550
|
+
# @option opts [Integer] :limit page size of results
|
551
|
+
# @return [Array<Repository>]
|
552
|
+
describe 'org_list_repos test' do
|
553
|
+
it 'should work' do
|
554
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
555
|
+
end
|
556
|
+
end
|
557
|
+
|
558
|
+
# unit tests for org_list_team_activity_feeds
|
559
|
+
# List a team's activity feeds
|
560
|
+
# @param id id of the team
|
561
|
+
# @param [Hash] opts the optional parameters
|
562
|
+
# @option opts [Date] :date the date of the activities to be found
|
563
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
564
|
+
# @option opts [Integer] :limit page size of results
|
565
|
+
# @return [Array<Activity>]
|
566
|
+
describe 'org_list_team_activity_feeds test' do
|
567
|
+
it 'should work' do
|
568
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
569
|
+
end
|
570
|
+
end
|
571
|
+
|
572
|
+
# unit tests for org_list_team_member
|
573
|
+
# List a particular member of team
|
574
|
+
# @param id id of the team
|
575
|
+
# @param username username of the member to list
|
576
|
+
# @param [Hash] opts the optional parameters
|
577
|
+
# @return [User]
|
578
|
+
describe 'org_list_team_member test' do
|
579
|
+
it 'should work' do
|
580
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
581
|
+
end
|
582
|
+
end
|
583
|
+
|
584
|
+
# unit tests for org_list_team_members
|
585
|
+
# List a team's members
|
586
|
+
# @param id id of the team
|
587
|
+
# @param [Hash] opts the optional parameters
|
588
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
589
|
+
# @option opts [Integer] :limit page size of results
|
590
|
+
# @return [Array<User>]
|
591
|
+
describe 'org_list_team_members test' do
|
592
|
+
it 'should work' do
|
593
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
594
|
+
end
|
595
|
+
end
|
596
|
+
|
597
|
+
# unit tests for org_list_team_repo
|
598
|
+
# List a particular repo of team
|
599
|
+
# @param id id of the team
|
600
|
+
# @param org organization that owns the repo to list
|
601
|
+
# @param repo name of the repo to list
|
602
|
+
# @param [Hash] opts the optional parameters
|
603
|
+
# @return [Repository]
|
604
|
+
describe 'org_list_team_repo test' do
|
605
|
+
it 'should work' do
|
606
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
607
|
+
end
|
608
|
+
end
|
609
|
+
|
610
|
+
# unit tests for org_list_team_repos
|
611
|
+
# List a team's repos
|
612
|
+
# @param id id of the team
|
613
|
+
# @param [Hash] opts the optional parameters
|
614
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
615
|
+
# @option opts [Integer] :limit page size of results
|
616
|
+
# @return [Array<Repository>]
|
617
|
+
describe 'org_list_team_repos test' do
|
618
|
+
it 'should work' do
|
619
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
620
|
+
end
|
621
|
+
end
|
622
|
+
|
623
|
+
# unit tests for org_list_teams
|
624
|
+
# List an organization's teams
|
625
|
+
# @param org name of the organization
|
626
|
+
# @param [Hash] opts the optional parameters
|
627
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
628
|
+
# @option opts [Integer] :limit page size of results
|
629
|
+
# @return [Array<Team>]
|
630
|
+
describe 'org_list_teams test' do
|
631
|
+
it 'should work' do
|
632
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
633
|
+
end
|
634
|
+
end
|
635
|
+
|
636
|
+
# unit tests for org_list_user_orgs
|
637
|
+
# List a user's organizations
|
638
|
+
# @param username username of user
|
639
|
+
# @param [Hash] opts the optional parameters
|
640
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
641
|
+
# @option opts [Integer] :limit page size of results
|
642
|
+
# @return [Array<Organization>]
|
643
|
+
describe 'org_list_user_orgs test' do
|
644
|
+
it 'should work' do
|
645
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
646
|
+
end
|
647
|
+
end
|
648
|
+
|
649
|
+
# unit tests for org_publicize_member
|
650
|
+
# Publicize a user's membership
|
651
|
+
# @param org name of the organization
|
652
|
+
# @param username username of the user
|
653
|
+
# @param [Hash] opts the optional parameters
|
654
|
+
# @return [nil]
|
655
|
+
describe 'org_publicize_member test' do
|
656
|
+
it 'should work' do
|
657
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
658
|
+
end
|
659
|
+
end
|
660
|
+
|
661
|
+
# unit tests for org_remove_team_member
|
662
|
+
# Remove a team member
|
663
|
+
# @param id id of the team
|
664
|
+
# @param username username of the user to remove
|
665
|
+
# @param [Hash] opts the optional parameters
|
666
|
+
# @return [nil]
|
667
|
+
describe 'org_remove_team_member test' do
|
668
|
+
it 'should work' do
|
669
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
670
|
+
end
|
671
|
+
end
|
672
|
+
|
673
|
+
# unit tests for org_remove_team_repository
|
674
|
+
# Remove a repository from a team
|
675
|
+
# This does not delete the repository, it only removes the repository from the team.
|
676
|
+
# @param id id of the team
|
677
|
+
# @param org organization that owns the repo to remove
|
678
|
+
# @param repo name of the repo to remove
|
679
|
+
# @param [Hash] opts the optional parameters
|
680
|
+
# @return [nil]
|
681
|
+
describe 'org_remove_team_repository test' do
|
682
|
+
it 'should work' do
|
683
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
684
|
+
end
|
685
|
+
end
|
686
|
+
|
687
|
+
# unit tests for org_unblock_user
|
688
|
+
# Unblock a user from the organization
|
689
|
+
# @param org name of the org
|
690
|
+
# @param username username of the user
|
691
|
+
# @param [Hash] opts the optional parameters
|
692
|
+
# @return [nil]
|
693
|
+
describe 'org_unblock_user test' do
|
694
|
+
it 'should work' do
|
695
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
696
|
+
end
|
697
|
+
end
|
698
|
+
|
699
|
+
# unit tests for org_update_avatar
|
700
|
+
# Update Avatar
|
701
|
+
# @param org name of the organization
|
702
|
+
# @param [Hash] opts the optional parameters
|
703
|
+
# @option opts [UpdateUserAvatarOption] :body
|
704
|
+
# @return [nil]
|
705
|
+
describe 'org_update_avatar test' do
|
706
|
+
it 'should work' do
|
707
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
708
|
+
end
|
709
|
+
end
|
710
|
+
|
711
|
+
# unit tests for team_search
|
712
|
+
# Search for teams within an organization
|
713
|
+
# @param org name of the organization
|
714
|
+
# @param [Hash] opts the optional parameters
|
715
|
+
# @option opts [String] :q keywords to search
|
716
|
+
# @option opts [Boolean] :include_desc include search within team description (defaults to true)
|
717
|
+
# @option opts [Integer] :page page number of results to return (1-based)
|
718
|
+
# @option opts [Integer] :limit page size of results
|
719
|
+
# @return [TeamSearch200Response]
|
720
|
+
describe 'team_search test' do
|
721
|
+
it 'should work' do
|
722
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
723
|
+
end
|
724
|
+
end
|
725
|
+
|
726
|
+
# unit tests for update_org_secret
|
727
|
+
# Create or Update a secret value in an organization
|
728
|
+
# @param org name of organization
|
729
|
+
# @param secretname name of the secret
|
730
|
+
# @param [Hash] opts the optional parameters
|
731
|
+
# @option opts [CreateOrUpdateSecretOption] :body
|
732
|
+
# @return [nil]
|
733
|
+
describe 'update_org_secret test' do
|
734
|
+
it 'should work' do
|
735
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
736
|
+
end
|
737
|
+
end
|
738
|
+
|
739
|
+
# unit tests for update_org_variable
|
740
|
+
# Update an org-level variable
|
741
|
+
# @param org name of the organization
|
742
|
+
# @param variablename name of the variable
|
743
|
+
# @param [Hash] opts the optional parameters
|
744
|
+
# @option opts [UpdateVariableOption] :body
|
745
|
+
# @return [nil]
|
746
|
+
describe 'update_org_variable test' do
|
747
|
+
it 'should work' do
|
748
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
749
|
+
end
|
750
|
+
end
|
751
|
+
|
752
|
+
end
|