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,82 @@
|
|
1
|
+
# Forgejo::EditRepoOption
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **allow_fast_forward_only_merge** | **Boolean** | either `true` to allow fast-forward-only merging pull requests, or `false` to prevent fast-forward-only merging. | [optional] |
|
8
|
+
| **allow_manual_merge** | **Boolean** | either `true` to allow mark pr as merged manually, or `false` to prevent it. | [optional] |
|
9
|
+
| **allow_merge_commits** | **Boolean** | either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits. | [optional] |
|
10
|
+
| **allow_rebase** | **Boolean** | either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging. | [optional] |
|
11
|
+
| **allow_rebase_explicit** | **Boolean** | either `true` to allow rebase with explicit merge commits (--no-ff), or `false` to prevent rebase with explicit merge commits. | [optional] |
|
12
|
+
| **allow_rebase_update** | **Boolean** | either `true` to allow updating pull request branch by rebase, or `false` to prevent it. | [optional] |
|
13
|
+
| **allow_squash_merge** | **Boolean** | either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging. | [optional] |
|
14
|
+
| **archived** | **Boolean** | set to `true` to archive this repository. | [optional] |
|
15
|
+
| **autodetect_manual_merge** | **Boolean** | either `true` to enable AutodetectManualMerge, or `false` to prevent it. Note: In some special cases, misjudgments can occur. | [optional] |
|
16
|
+
| **default_allow_maintainer_edit** | **Boolean** | set to `true` to allow edits from maintainers by default | [optional] |
|
17
|
+
| **default_branch** | **String** | sets the default branch for this repository. | [optional] |
|
18
|
+
| **default_delete_branch_after_merge** | **Boolean** | set to `true` to delete pr branch after merge by default | [optional] |
|
19
|
+
| **default_merge_style** | **String** | set to a merge style to be used by this repository: \"merge\", \"rebase\", \"rebase-merge\", \"squash\", or \"fast-forward-only\". | [optional] |
|
20
|
+
| **description** | **String** | a short description of the repository. | [optional] |
|
21
|
+
| **enable_prune** | **Boolean** | enable prune - remove obsolete remote-tracking references when mirroring | [optional] |
|
22
|
+
| **external_tracker** | [**ExternalTracker**](ExternalTracker.md) | | [optional] |
|
23
|
+
| **external_wiki** | [**ExternalWiki**](ExternalWiki.md) | | [optional] |
|
24
|
+
| **globally_editable_wiki** | **Boolean** | set the globally editable state of the wiki | [optional] |
|
25
|
+
| **has_actions** | **Boolean** | either `true` to enable actions unit, or `false` to disable them. | [optional] |
|
26
|
+
| **has_issues** | **Boolean** | either `true` to enable issues for this repository or `false` to disable them. | [optional] |
|
27
|
+
| **has_packages** | **Boolean** | either `true` to enable packages unit, or `false` to disable them. | [optional] |
|
28
|
+
| **has_projects** | **Boolean** | either `true` to enable project unit, or `false` to disable them. | [optional] |
|
29
|
+
| **has_pull_requests** | **Boolean** | either `true` to allow pull requests, or `false` to prevent pull request. | [optional] |
|
30
|
+
| **has_releases** | **Boolean** | either `true` to enable releases unit, or `false` to disable them. | [optional] |
|
31
|
+
| **has_wiki** | **Boolean** | either `true` to enable the wiki for this repository or `false` to disable it. | [optional] |
|
32
|
+
| **ignore_whitespace_conflicts** | **Boolean** | either `true` to ignore whitespace for conflicts, or `false` to not ignore whitespace. | [optional] |
|
33
|
+
| **internal_tracker** | [**InternalTracker**](InternalTracker.md) | | [optional] |
|
34
|
+
| **mirror_interval** | **String** | set to a string like `8h30m0s` to set the mirror interval time | [optional] |
|
35
|
+
| **name** | **String** | name of the repository | [optional] |
|
36
|
+
| **private** | **Boolean** | either `true` to make the repository private or `false` to make it public. Note: you will get a 422 error if the organization restricts changing repository visibility to organization owners and a non-owner tries to change the value of private. | [optional] |
|
37
|
+
| **template** | **Boolean** | either `true` to make this repository a template or `false` to make it a normal repository | [optional] |
|
38
|
+
| **website** | **String** | a URL with more information about the repository. | [optional] |
|
39
|
+
| **wiki_branch** | **String** | sets the branch used for this repository's wiki. | [optional] |
|
40
|
+
|
41
|
+
## Example
|
42
|
+
|
43
|
+
```ruby
|
44
|
+
require 'forgejo'
|
45
|
+
|
46
|
+
instance = Forgejo::EditRepoOption.new(
|
47
|
+
allow_fast_forward_only_merge: null,
|
48
|
+
allow_manual_merge: null,
|
49
|
+
allow_merge_commits: null,
|
50
|
+
allow_rebase: null,
|
51
|
+
allow_rebase_explicit: null,
|
52
|
+
allow_rebase_update: null,
|
53
|
+
allow_squash_merge: null,
|
54
|
+
archived: null,
|
55
|
+
autodetect_manual_merge: null,
|
56
|
+
default_allow_maintainer_edit: null,
|
57
|
+
default_branch: null,
|
58
|
+
default_delete_branch_after_merge: null,
|
59
|
+
default_merge_style: null,
|
60
|
+
description: null,
|
61
|
+
enable_prune: null,
|
62
|
+
external_tracker: null,
|
63
|
+
external_wiki: null,
|
64
|
+
globally_editable_wiki: null,
|
65
|
+
has_actions: null,
|
66
|
+
has_issues: null,
|
67
|
+
has_packages: null,
|
68
|
+
has_projects: null,
|
69
|
+
has_pull_requests: null,
|
70
|
+
has_releases: null,
|
71
|
+
has_wiki: null,
|
72
|
+
ignore_whitespace_conflicts: null,
|
73
|
+
internal_tracker: null,
|
74
|
+
mirror_interval: null,
|
75
|
+
name: null,
|
76
|
+
private: null,
|
77
|
+
template: null,
|
78
|
+
website: null,
|
79
|
+
wiki_branch: null
|
80
|
+
)
|
81
|
+
```
|
82
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Forgejo::EditTagProtectionOption
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **name_pattern** | **String** | | [optional] |
|
8
|
+
| **whitelist_teams** | **Array<String>** | | [optional] |
|
9
|
+
| **whitelist_usernames** | **Array<String>** | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'forgejo'
|
15
|
+
|
16
|
+
instance = Forgejo::EditTagProtectionOption.new(
|
17
|
+
name_pattern: null,
|
18
|
+
whitelist_teams: null,
|
19
|
+
whitelist_usernames: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Forgejo::EditTeamOption
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **can_create_org_repo** | **Boolean** | | [optional] |
|
8
|
+
| **description** | **String** | | [optional] |
|
9
|
+
| **includes_all_repositories** | **Boolean** | | [optional] |
|
10
|
+
| **name** | **String** | | |
|
11
|
+
| **permission** | **String** | | [optional] |
|
12
|
+
| **units** | **Array<String>** | | [optional] |
|
13
|
+
| **units_map** | **Hash<String, String>** | | [optional] |
|
14
|
+
|
15
|
+
## Example
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'forgejo'
|
19
|
+
|
20
|
+
instance = Forgejo::EditTeamOption.new(
|
21
|
+
can_create_org_repo: null,
|
22
|
+
description: null,
|
23
|
+
includes_all_repositories: null,
|
24
|
+
name: null,
|
25
|
+
permission: null,
|
26
|
+
units: [repo.code, repo.issues, repo.ext_issues, repo.wiki, repo.pulls, repo.releases, repo.projects, repo.ext_wiki],
|
27
|
+
units_map: {"repo.code":"read","repo.ext_issues":"none","repo.ext_wiki":"none","repo.issues":"write","repo.projects":"none","repo.pulls":"owner","repo.releases":"none","repo.wiki":"admin"}
|
28
|
+
)
|
29
|
+
```
|
30
|
+
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# Forgejo::EditUserOption
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **active** | **Boolean** | | [optional] |
|
8
|
+
| **admin** | **Boolean** | | [optional] |
|
9
|
+
| **allow_create_organization** | **Boolean** | | [optional] |
|
10
|
+
| **allow_git_hook** | **Boolean** | | [optional] |
|
11
|
+
| **allow_import_local** | **Boolean** | | [optional] |
|
12
|
+
| **description** | **String** | | [optional] |
|
13
|
+
| **email** | **String** | | [optional] |
|
14
|
+
| **full_name** | **String** | | [optional] |
|
15
|
+
| **location** | **String** | | [optional] |
|
16
|
+
| **login_name** | **String** | | [optional] |
|
17
|
+
| **max_repo_creation** | **Integer** | | [optional] |
|
18
|
+
| **must_change_password** | **Boolean** | | [optional] |
|
19
|
+
| **password** | **String** | | [optional] |
|
20
|
+
| **prohibit_login** | **Boolean** | | [optional] |
|
21
|
+
| **pronouns** | **String** | | [optional] |
|
22
|
+
| **restricted** | **Boolean** | | [optional] |
|
23
|
+
| **source_id** | **Integer** | | [optional] |
|
24
|
+
| **visibility** | **String** | | [optional] |
|
25
|
+
| **website** | **String** | | [optional] |
|
26
|
+
|
27
|
+
## Example
|
28
|
+
|
29
|
+
```ruby
|
30
|
+
require 'forgejo'
|
31
|
+
|
32
|
+
instance = Forgejo::EditUserOption.new(
|
33
|
+
active: null,
|
34
|
+
admin: null,
|
35
|
+
allow_create_organization: null,
|
36
|
+
allow_git_hook: null,
|
37
|
+
allow_import_local: null,
|
38
|
+
description: null,
|
39
|
+
email: null,
|
40
|
+
full_name: null,
|
41
|
+
location: null,
|
42
|
+
login_name: null,
|
43
|
+
max_repo_creation: null,
|
44
|
+
must_change_password: null,
|
45
|
+
password: null,
|
46
|
+
prohibit_login: null,
|
47
|
+
pronouns: null,
|
48
|
+
restricted: null,
|
49
|
+
source_id: null,
|
50
|
+
visibility: null,
|
51
|
+
website: null
|
52
|
+
)
|
53
|
+
```
|
54
|
+
|
data/docs/Email.md
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# Forgejo::Email
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **email** | **String** | | [optional] |
|
8
|
+
| **primary** | **Boolean** | | [optional] |
|
9
|
+
| **user_id** | **Integer** | | [optional] |
|
10
|
+
| **username** | **String** | | [optional] |
|
11
|
+
| **verified** | **Boolean** | | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'forgejo'
|
17
|
+
|
18
|
+
instance = Forgejo::Email.new(
|
19
|
+
email: null,
|
20
|
+
primary: null,
|
21
|
+
user_id: null,
|
22
|
+
username: null,
|
23
|
+
verified: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Forgejo::ExternalTracker
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **external_tracker_format** | **String** | External Issue Tracker URL Format. Use the placeholders {user}, {repo} and {index} for the username, repository name and issue index. | [optional] |
|
8
|
+
| **external_tracker_regexp_pattern** | **String** | External Issue Tracker issue regular expression | [optional] |
|
9
|
+
| **external_tracker_style** | **String** | External Issue Tracker Number Format, either `numeric`, `alphanumeric`, or `regexp` | [optional] |
|
10
|
+
| **external_tracker_url** | **String** | URL of external issue tracker. | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'forgejo'
|
16
|
+
|
17
|
+
instance = Forgejo::ExternalTracker.new(
|
18
|
+
external_tracker_format: null,
|
19
|
+
external_tracker_regexp_pattern: null,
|
20
|
+
external_tracker_style: null,
|
21
|
+
external_tracker_url: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Forgejo::ExternalWiki
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **external_wiki_url** | **String** | URL of external wiki. | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'forgejo'
|
13
|
+
|
14
|
+
instance = Forgejo::ExternalWiki.new(
|
15
|
+
external_wiki_url: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# Forgejo::FileCommitResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **author** | [**CommitUser**](CommitUser.md) | | [optional] |
|
8
|
+
| **committer** | [**CommitUser**](CommitUser.md) | | [optional] |
|
9
|
+
| **created** | **Time** | | [optional] |
|
10
|
+
| **html_url** | **String** | | [optional] |
|
11
|
+
| **message** | **String** | | [optional] |
|
12
|
+
| **parents** | [**Array<CommitMeta>**](CommitMeta.md) | | [optional] |
|
13
|
+
| **sha** | **String** | | [optional] |
|
14
|
+
| **tree** | [**CommitMeta**](CommitMeta.md) | | [optional] |
|
15
|
+
| **url** | **String** | | [optional] |
|
16
|
+
|
17
|
+
## Example
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'forgejo'
|
21
|
+
|
22
|
+
instance = Forgejo::FileCommitResponse.new(
|
23
|
+
author: null,
|
24
|
+
committer: null,
|
25
|
+
created: null,
|
26
|
+
html_url: null,
|
27
|
+
message: null,
|
28
|
+
parents: null,
|
29
|
+
sha: null,
|
30
|
+
tree: null,
|
31
|
+
url: null
|
32
|
+
)
|
33
|
+
```
|
34
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Forgejo::FileDeleteResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **commit** | [**FileCommitResponse**](FileCommitResponse.md) | | [optional] |
|
8
|
+
| **content** | **Object** | | [optional] |
|
9
|
+
| **verification** | [**PayloadCommitVerification**](PayloadCommitVerification.md) | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'forgejo'
|
15
|
+
|
16
|
+
instance = Forgejo::FileDeleteResponse.new(
|
17
|
+
commit: null,
|
18
|
+
content: null,
|
19
|
+
verification: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Forgejo::FileLinksResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **git** | **String** | | [optional] |
|
8
|
+
| **html** | **String** | | [optional] |
|
9
|
+
| **_self** | **String** | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'forgejo'
|
15
|
+
|
16
|
+
instance = Forgejo::FileLinksResponse.new(
|
17
|
+
git: null,
|
18
|
+
html: null,
|
19
|
+
_self: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Forgejo::FileResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **commit** | [**FileCommitResponse**](FileCommitResponse.md) | | [optional] |
|
8
|
+
| **content** | [**ContentsResponse**](ContentsResponse.md) | | [optional] |
|
9
|
+
| **verification** | [**PayloadCommitVerification**](PayloadCommitVerification.md) | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'forgejo'
|
15
|
+
|
16
|
+
instance = Forgejo::FileResponse.new(
|
17
|
+
commit: null,
|
18
|
+
content: null,
|
19
|
+
verification: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Forgejo::FilesResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **commit** | [**FileCommitResponse**](FileCommitResponse.md) | | [optional] |
|
8
|
+
| **files** | [**Array<ContentsResponse>**](ContentsResponse.md) | | [optional] |
|
9
|
+
| **verification** | [**PayloadCommitVerification**](PayloadCommitVerification.md) | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'forgejo'
|
15
|
+
|
16
|
+
instance = Forgejo::FilesResponse.new(
|
17
|
+
commit: null,
|
18
|
+
files: null,
|
19
|
+
verification: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
data/docs/GPGKey.md
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
# Forgejo::GPGKey
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **can_certify** | **Boolean** | | [optional] |
|
8
|
+
| **can_encrypt_comms** | **Boolean** | | [optional] |
|
9
|
+
| **can_encrypt_storage** | **Boolean** | | [optional] |
|
10
|
+
| **can_sign** | **Boolean** | | [optional] |
|
11
|
+
| **created_at** | **Time** | | [optional] |
|
12
|
+
| **emails** | [**Array<GPGKeyEmail>**](GPGKeyEmail.md) | | [optional] |
|
13
|
+
| **expires_at** | **Time** | | [optional] |
|
14
|
+
| **id** | **Integer** | | [optional] |
|
15
|
+
| **key_id** | **String** | | [optional] |
|
16
|
+
| **primary_key_id** | **String** | | [optional] |
|
17
|
+
| **public_key** | **String** | | [optional] |
|
18
|
+
| **subkeys** | [**Array<GPGKey>**](GPGKey.md) | | [optional] |
|
19
|
+
| **verified** | **Boolean** | | [optional] |
|
20
|
+
|
21
|
+
## Example
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
require 'forgejo'
|
25
|
+
|
26
|
+
instance = Forgejo::GPGKey.new(
|
27
|
+
can_certify: null,
|
28
|
+
can_encrypt_comms: null,
|
29
|
+
can_encrypt_storage: null,
|
30
|
+
can_sign: null,
|
31
|
+
created_at: null,
|
32
|
+
emails: null,
|
33
|
+
expires_at: null,
|
34
|
+
id: null,
|
35
|
+
key_id: null,
|
36
|
+
primary_key_id: null,
|
37
|
+
public_key: null,
|
38
|
+
subkeys: null,
|
39
|
+
verified: null
|
40
|
+
)
|
41
|
+
```
|
42
|
+
|
data/docs/GPGKeyEmail.md
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# Forgejo::GPGKeyEmail
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **email** | **String** | | [optional] |
|
8
|
+
| **verified** | **Boolean** | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'forgejo'
|
14
|
+
|
15
|
+
instance = Forgejo::GPGKeyEmail.new(
|
16
|
+
email: null,
|
17
|
+
verified: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Forgejo::GeneralAPISettings
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **default_git_trees_per_page** | **Integer** | | [optional] |
|
8
|
+
| **default_max_blob_size** | **Integer** | | [optional] |
|
9
|
+
| **default_paging_num** | **Integer** | | [optional] |
|
10
|
+
| **max_response_items** | **Integer** | | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'forgejo'
|
16
|
+
|
17
|
+
instance = Forgejo::GeneralAPISettings.new(
|
18
|
+
default_git_trees_per_page: null,
|
19
|
+
default_max_blob_size: null,
|
20
|
+
default_paging_num: null,
|
21
|
+
max_response_items: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Forgejo::GeneralAttachmentSettings
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **allowed_types** | **String** | | [optional] |
|
8
|
+
| **enabled** | **Boolean** | | [optional] |
|
9
|
+
| **max_files** | **Integer** | | [optional] |
|
10
|
+
| **max_size** | **Integer** | | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'forgejo'
|
16
|
+
|
17
|
+
instance = Forgejo::GeneralAttachmentSettings.new(
|
18
|
+
allowed_types: null,
|
19
|
+
enabled: null,
|
20
|
+
max_files: null,
|
21
|
+
max_size: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Forgejo::GeneralRepoSettings
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **forks_disabled** | **Boolean** | | [optional] |
|
8
|
+
| **http_git_disabled** | **Boolean** | | [optional] |
|
9
|
+
| **lfs_disabled** | **Boolean** | | [optional] |
|
10
|
+
| **migrations_disabled** | **Boolean** | | [optional] |
|
11
|
+
| **mirrors_disabled** | **Boolean** | | [optional] |
|
12
|
+
| **stars_disabled** | **Boolean** | | [optional] |
|
13
|
+
| **time_tracking_disabled** | **Boolean** | | [optional] |
|
14
|
+
|
15
|
+
## Example
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'forgejo'
|
19
|
+
|
20
|
+
instance = Forgejo::GeneralRepoSettings.new(
|
21
|
+
forks_disabled: null,
|
22
|
+
http_git_disabled: null,
|
23
|
+
lfs_disabled: null,
|
24
|
+
migrations_disabled: null,
|
25
|
+
mirrors_disabled: null,
|
26
|
+
stars_disabled: null,
|
27
|
+
time_tracking_disabled: null
|
28
|
+
)
|
29
|
+
```
|
30
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Forgejo::GeneralUISettings
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **allowed_reactions** | **Array<String>** | | [optional] |
|
8
|
+
| **custom_emojis** | **Array<String>** | | [optional] |
|
9
|
+
| **default_theme** | **String** | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'forgejo'
|
15
|
+
|
16
|
+
instance = Forgejo::GeneralUISettings.new(
|
17
|
+
allowed_reactions: null,
|
18
|
+
custom_emojis: null,
|
19
|
+
default_theme: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# Forgejo::GenerateRepoOption
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **avatar** | **Boolean** | include avatar of the template repo | [optional] |
|
8
|
+
| **default_branch** | **String** | Default branch of the new repository | [optional] |
|
9
|
+
| **description** | **String** | Description of the repository to create | [optional] |
|
10
|
+
| **git_content** | **Boolean** | include git content of default branch in template repo | [optional] |
|
11
|
+
| **git_hooks** | **Boolean** | include git hooks in template repo | [optional] |
|
12
|
+
| **labels** | **Boolean** | include labels in template repo | [optional] |
|
13
|
+
| **name** | **String** | Name of the repository to create | |
|
14
|
+
| **owner** | **String** | The organization or person who will own the new repository | |
|
15
|
+
| **private** | **Boolean** | Whether the repository is private | [optional] |
|
16
|
+
| **protected_branch** | **Boolean** | include protected branches in template repo | [optional] |
|
17
|
+
| **topics** | **Boolean** | include topics in template repo | [optional] |
|
18
|
+
| **webhooks** | **Boolean** | include webhooks in template repo | [optional] |
|
19
|
+
|
20
|
+
## Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
require 'forgejo'
|
24
|
+
|
25
|
+
instance = Forgejo::GenerateRepoOption.new(
|
26
|
+
avatar: null,
|
27
|
+
default_branch: null,
|
28
|
+
description: null,
|
29
|
+
git_content: null,
|
30
|
+
git_hooks: null,
|
31
|
+
labels: null,
|
32
|
+
name: null,
|
33
|
+
owner: null,
|
34
|
+
private: null,
|
35
|
+
protected_branch: null,
|
36
|
+
topics: null,
|
37
|
+
webhooks: null
|
38
|
+
)
|
39
|
+
```
|
40
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# Forgejo::GitBlobResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **content** | **String** | | [optional] |
|
8
|
+
| **encoding** | **String** | | [optional] |
|
9
|
+
| **sha** | **String** | | [optional] |
|
10
|
+
| **size** | **Integer** | | [optional] |
|
11
|
+
| **url** | **String** | | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'forgejo'
|
17
|
+
|
18
|
+
instance = Forgejo::GitBlobResponse.new(
|
19
|
+
content: null,
|
20
|
+
encoding: null,
|
21
|
+
sha: null,
|
22
|
+
size: null,
|
23
|
+
url: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
data/docs/GitEntry.md
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# Forgejo::GitEntry
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **mode** | **String** | | [optional] |
|
8
|
+
| **path** | **String** | | [optional] |
|
9
|
+
| **sha** | **String** | | [optional] |
|
10
|
+
| **size** | **Integer** | | [optional] |
|
11
|
+
| **type** | **String** | | [optional] |
|
12
|
+
| **url** | **String** | | [optional] |
|
13
|
+
|
14
|
+
## Example
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'forgejo'
|
18
|
+
|
19
|
+
instance = Forgejo::GitEntry.new(
|
20
|
+
mode: null,
|
21
|
+
path: null,
|
22
|
+
sha: null,
|
23
|
+
size: null,
|
24
|
+
type: null,
|
25
|
+
url: null
|
26
|
+
)
|
27
|
+
```
|
28
|
+
|
data/docs/GitHook.md
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# Forgejo::GitHook
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **content** | **String** | | [optional] |
|
8
|
+
| **is_active** | **Boolean** | | [optional] |
|
9
|
+
| **name** | **String** | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'forgejo'
|
15
|
+
|
16
|
+
instance = Forgejo::GitHook.new(
|
17
|
+
content: null,
|
18
|
+
is_active: null,
|
19
|
+
name: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|