use utoipa::OpenApi; use crate::handler; #[derive(OpenApi)] #[openapi( info(title = "gitdata git api", version = "1.0"), paths( handler::graphql::graphql_get, handler::graphql::graphql_post, handler::analysis::code_activity::code_activity, handler::analysis::contributors::contributors, handler::analysis::languages::languages, handler::analysis::languages_read::languages_read, handler::archives::create::create, handler::archives::create_bundle::create_bundle, handler::archives::download::download, handler::blame::blame, handler::blobs::content::blob_content, handler::blobs::list_lfs_pointers::list_lfs_pointers, handler::blobs::metadata::blob_metadata, handler::blobs::raw_download::blob_raw_download, handler::branches::create::create_branch, handler::branches::delete::delete_branch, handler::branches::get::get_branch, handler::branches::list::list_branches, handler::branches::rename::rename_branch, handler::branches::set_default::set_default_branch, handler::commits::get::get_commit, handler::commits::is_ancestor::is_ancestor, handler::commits::list::list_commits, handler::commits::list_commit_statuses::list_commit_statuses, handler::commits::rev_parse::rev_parse, handler::commits::set_commit_status::set_commit_status, handler::commits::stats::commit_stats, handler::commits::sync_commit::sync_commit, handler::commits::tree_entries::get_tree_entries, handler::conflicts::check::conflict_check, handler::conflicts::check_threeway::conflict_check_threeway, handler::conflicts::conflicted_files::conflicted_files, handler::conflicts::detail::conflict_detail, handler::content::caller_signature::caller_signature, handler::content::commit_object::commit_object, handler::content::write_blob::write_blob, handler::content::write_tree_from_files::write_tree_from_files, handler::diffs::files::diff_files, handler::diffs::files_changed_between::files_changed_between, handler::diffs::for_commit::diff_for_commit, handler::diffs::range_diff::range_diff, handler::diffs::raw::diff_raw, handler::diffs::short_stat::diff_short_stat, handler::diffs::stats::diff_stats, handler::diffs::tree::diff_tree, handler::hooks::execute_script::execute_script, handler::licenses::get_license, handler::licenses::list_licenses, handler::licenses::upsert_license, handler::lfs::cleanup_unreferenced::cleanup_unreferenced, handler::lfs::list_locks::list_locks, handler::lfs::lock::lock, handler::lfs::unlock::unlock, handler::lfs::unlock_by_id::unlock_by_id, handler::lfs::verify_locks::verify_locks, handler::logs::commits_between::log_commits_between, handler::logs::graph::log_graph, handler::logs::last_commit::log_last_commit, handler::logs::list::log_list, handler::maintenance::fsck::fsck, handler::maintenance::prune::prune, handler::packs::ingest::ingest, handler::packs::repack::repack, handler::packs::stats::stats, handler::patches::apply::patch_apply, handler::patches::generate::patch_generate, handler::patches::parse::patch_parse, handler::path_log::path_log, handler::pipelines::cancel::cancel, handler::pipelines::schedule::schedule, handler::pipelines::trigger::trigger, handler::refs::branches::refs_branches, handler::refs::delete::refs_delete, handler::refs::filtered::refs_list_filtered, handler::refs::get::refs_get, handler::refs::head::refs_head, handler::refs::is_object_in_ref::refs_is_object_in_ref, handler::refs::list::refs_list, handler::refs::resolve::refs_resolve, handler::refs::update::refs_update, handler::remotes::add::add, handler::remotes::clone_import::clone_import, handler::remotes::fetch::fetch, handler::remotes::push::push, handler::remotes::remove::remove, handler::repos::archive::archive_repo, handler::repos::create::create_repo, handler::repos::get::get_repo, handler::repos::list::list_repos, handler::repos::update::update_repo, handler::signatures::verify_commit::verify_commit, handler::signatures::verify_tag::verify_tag, handler::stars::is_starred, handler::stars::list_stargazers, handler::stars::star_repo, handler::stars::unstar_repo, handler::submodules::list::submodule_list, handler::submodules::resolve::submodule_resolve, handler::tags::create::create_tag, handler::tags::delete::delete_tag, handler::tags::get::get_tag, handler::tags::list::list_tags, handler::tags::verify::verify_tag, handler::topics::add_topic_to_repo, handler::topics::create_topic, handler::topics::get_topic, handler::topics::list_repo_topics, handler::topics::list_repos_by_topic, handler::topics::list_topics, handler::topics::remove_topic_from_repo, handler::trees::follow::tree_follow, handler::trees::last_updated::tree_last_updated, handler::trees::read::tree_read, handler::trees::resolve_path::tree_resolve_path, handler::trees::walk::tree_walk, handler::watches::get_watch_mode, handler::watches::list_watchers, handler::watches::unwatch, handler::watches::upsert_watch, handler::whitelists::add_branch_whitelist, handler::whitelists::add_tag_whitelist, handler::whitelists::list_branch_whitelists, handler::whitelists::list_tag_whitelists, handler::whitelists::remove_branch_whitelist, handler::whitelists::remove_tag_whitelist, handler::html::clone_buttons::render, handler::html::badge::render, handler::html::quickstart::render, handler::html::header::render, handler::html::last_commit::render, handler::html::refs_summary::render, handler::html::refs_dropdown::render, handler::html::tree::render, handler::html::tree_row::render, handler::html::breadcrumbs::render, handler::html::blob_header::render, ), components(schemas( export::rest::NoData, models::common::watch_mode::WatchMode, models::git::git_commit_status::CommitStatusState, models::git::git_tags::TagType, models::repo::repo_branch_protection_whitelists::WhitelistKind, crate::lfs::types::LfsLock, crate::lfs::types::LfsLockOwner, crate::lfs::types::LfsLockListResponse, crate::lfs::types::LfsVerifyLocksResponse, crate::service::analysis::CodeActivityAuthorDto, crate::service::analysis::CodeActivityDto, crate::service::analysis::ContributorStatDto, crate::service::analysis::LanguageStatDto, crate::service::archives::ArchiveResultDto, crate::service::blame::BlameRangeDto, crate::service::blobs::BlobContentDto, crate::service::blobs::BlobMetaDto, crate::service::blobs::LfsPointerDto, crate::service::blobs::RawDownloadDto, crate::service::branches::BranchDto, crate::service::branches::CreateBranchCmd, crate::service::commits::CommitStatusDto, crate::service::commits::CommitStatusDtoState, crate::service::commits::SetCommitStatusCmd, crate::service::conflicts::ConflictDetailDto, crate::service::conflicts::MergeStatusDto, crate::service::content::FileEntryDto, crate::service::content::ObjectKind, crate::service::content::SignatureDto, crate::service::content::WriteObjectResultDto, crate::service::diffs::DiffTreeRecordDto, crate::service::hooks::ScriptOutputDto, crate::service::licenses::LicenseDto, crate::service::licenses::UpsertLicenseCmd, crate::service::maintenance::FsckDto, crate::service::maintenance::PruneResultDto, crate::service::packs::IngestPackDto, crate::service::packs::PackStatsDto, crate::service::patches::AppliedPatchDto, crate::service::patches::ParsedPatchDto, crate::service::patches::PatchDto, crate::service::path_log::PathLogEntryDto, crate::service::pipelines::CommitStatusState, crate::service::pipelines::JobDto, crate::service::pipelines::TriggerResultDto, crate::service::refs::BranchInfoDto, crate::service::refs::HeadInfoDto, crate::service::refs::UpdateRefResultDto, crate::service::remotes::FetchResultDto, crate::service::remotes::ImportResultDto, crate::service::remotes::PushResultDto, crate::service::remotes::RemoteAuthDto, crate::service::repos::CreateRepoCmd, crate::service::repos::RepoDto, crate::service::repos::UpdateRepoCmd, crate::service::signatures::VerifyResultDto, crate::service::stars::RepoStarDto, crate::service::stars::RepoStarResp, crate::service::stars::StargazerDto, crate::service::submodules::SubmoduleDto, crate::service::tags::CreateTagCmd, crate::service::tags::TagDto, crate::service::topics::CreateTopicCmd, crate::service::topics::TopicDto, crate::service::topics::TopicRepoDto, crate::service::trees::PathLastUpdated, crate::service::watches::RepoWatchDto, crate::service::watches::UpsertWatchCmd, crate::service::watches::WatcherDto, crate::service::whitelists::AddBranchWhitelistCmd, crate::service::whitelists::AddTagWhitelistCmd, crate::service::whitelists::BranchWhitelistDto, crate::service::whitelists::TagWhitelistDto, crate::handler::commits::is_ancestor::IsAncestorResponse, crate::handler::commits::sync_commit::CommitSyncResponse, crate::handler::conflicts::check_threeway::ConflictCheckThreewayBody, crate::handler::content::caller_signature::CallerSignatureBody, crate::handler::content::commit_object::CommitObjectBody, crate::handler::content::write_blob::WriteBlobBody, crate::handler::content::write_tree_from_files::WriteTreeBody, crate::handler::hooks::execute_script::HookExecBody, crate::handler::lfs::cleanup_unreferenced::LfsCleanupResponse, crate::handler::lfs::lock::LfsLockBody, crate::handler::lfs::unlock::LfsUnlockBody, crate::handler::lfs::unlock_by_id::LfsUnlockByIdBody, crate::handler::patches::apply::PatchApplyBody, crate::handler::pipelines::cancel::PipelineCancelBody, crate::handler::pipelines::schedule::PipelineScheduleBody, crate::handler::refs::is_object_in_ref::IsObjectInRefResponse, crate::handler::remotes::add::RemoteAddBody, crate::handler::remotes::clone_import::RemoteImportBody, crate::handler::remotes::fetch::RemoteFetchBody, crate::handler::remotes::push::RemotePushBody, crate::handler::stars::StarStatusResp, crate::handler::tags::verify::TagVerifyDto, )) )] pub struct GitApiDoc;