Skip to main content

ephemeris_forge_forgejo/api/
request.rs

1//! Request bodies vendored by hand from the pinned `swagger.v1.json`.
2//!
3//! Create and patch are deliberately asymmetric. See
4//! [`CreateBranchProtectionOption`] for why.
5
6mod access;
7mod actions_variables;
8mod branch_rules;
9mod deploy_keys;
10mod labels;
11mod repository;
12mod tag_protection;
13mod webhooks;
14
15pub use self::access::AddCollaboratorOption;
16pub use self::actions_variables::{CreateVariableOption, UpdateVariableOption};
17pub use self::branch_rules::{CreateBranchProtectionOption, EditBranchProtectionOption};
18pub use self::deploy_keys::CreateKeyOption;
19pub use self::labels::{CreateLabelOption, EditLabelOption};
20pub use self::repository::{EditRepoOption, ExternalTracker, InternalTracker};
21pub use self::tag_protection::{CreateTagProtectionOption, EditTagProtectionOption};
22pub use self::webhooks::{CreateHookOption, EditHookOption};