summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCyborus <cyborus@cyborus.xyz>2024-07-30 21:46:52 +0200
committerCyborus <cyborus@cyborus.xyz>2024-07-30 21:46:52 +0200
commit3fa4cf8f0ec33faa082e7b04c2d7d2d0e0543e24 (patch)
tree7c894d755981ec523e9613c8b76c405b35b6de29 /src
parentMerge pull request 'bump version to 0.4.0' (#70) from bump-0.4.0 into main (diff)
downloadforgejo-api-3fa4cf8f0ec33faa082e7b04c2d7d2d0e0543e24.tar.xz
forgejo-api-3fa4cf8f0ec33faa082e7b04c2d7d2d0e0543e24.zip
docs: replace instances of "gitea" with "Forgejo"
Diffstat (limited to 'src')
-rw-r--r--src/generated/methods.rs4
-rw-r--r--src/generated/structs.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/generated/methods.rs b/src/generated/methods.rs
index b9657c5..2b23abf 100644
--- a/src/generated/methods.rs
+++ b/src/generated/methods.rs
@@ -548,7 +548,7 @@ impl crate::Forgejo {
}
}
- /// Returns the nodeinfo of the Gitea application
+ /// Returns the nodeinfo of the Forgejo application
pub async fn get_node_info(&self) -> Result<NodeInfo, ForgejoError> {
let request = self.get("nodeinfo").build()?;
let response = self.execute(request).await?;
@@ -8066,7 +8066,7 @@ impl crate::Forgejo {
}
}
- /// Returns the version of the Gitea application
+ /// Returns the version of the Forgejo application
pub async fn get_version(&self) -> Result<ServerVersion, ForgejoError> {
let request = self.get("version").build()?;
let response = self.execute(request).await?;
diff --git a/src/generated/structs.rs b/src/generated/structs.rs
index 48d1326..7399273 100644
--- a/src/generated/structs.rs
+++ b/src/generated/structs.rs
@@ -2735,7 +2735,7 @@ pub struct User {
/// the user's full name
pub full_name: Option<String>,
#[serde(deserialize_with = "crate::none_if_blank_url")]
- /// URL to the user's gitea page
+ /// URL to the user's Forgejo page
pub html_url: Option<url::Url>,
/// the user's id
pub id: Option<i64>,