summaryrefslogtreecommitdiffstats
path: root/generator
diff options
context:
space:
mode:
authoraviac <aviac@mailbox.org>2024-01-23 09:23:46 +0100
committeraviac <aviac@mailbox.org>2024-01-23 09:23:46 +0100
commita680fd921287d0acf5109e3f72517b8800ed84b7 (patch)
tree549c8d5746a2517d7f5493757bf561262c65130c /generator
parentfeat(formatting): auto run rustfmt on generated file (diff)
downloadforgejo-api-a680fd921287d0acf5109e3f72517b8800ed84b7.tar.xz
forgejo-api-a680fd921287d0acf5109e3f72517b8800ed84b7.zip
chore(cleanup): remove comment
Authored-by: Aviac <aviac@mailbox.org>
Diffstat (limited to 'generator')
-rw-r--r--generator/src/main.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/generator/src/main.rs b/generator/src/main.rs
index 7e2d290..b0629c1 100644
--- a/generator/src/main.rs
+++ b/generator/src/main.rs
@@ -1048,8 +1048,6 @@ fn create_query_struct(spec: &OpenApiV2, path: &str, op: &Operation) -> eyre::Re
.as_ref()
.ok_or_else(|| eyre::eyre!("no op id found"))?
.to_pascal_case();
- // human readable format string + added whitespace so that the generate text is human
- // readable as well
format!(
"
pub struct {op_name}Query {{