diff options
Diffstat (limited to 'generator/src/methods.rs')
-rw-r--r-- | generator/src/methods.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/generator/src/methods.rs b/generator/src/methods.rs index 93d5f57..7245247 100644 --- a/generator/src/methods.rs +++ b/generator/src/methods.rs @@ -96,6 +96,9 @@ fn method_docs(spec: &OpenApiV2, op: &Operation) -> eyre::Result<String> { let mut out = String::new(); let mut prev = false; if let Some(summary) = &op.summary { + let summary = summary + .replace("gitea", "Forgejo") + .replace("Gitea", "Forgejo"); write!(&mut out, "/// {summary}\n")?; prev = true; } |