Skip to content

Commit e29e6be

Browse files
committed
update openapi generator
1 parent 54d93e0 commit e29e6be

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

compiler-rs/clients_schema_to_openapi/src/paths.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,12 @@ pub fn add_endpoint(
366366
}));
367367
}
368368
}
369+
if let Some(alternative_java) = example.alternative_java.clone() {
370+
code_samples.push(serde_json::json!({
371+
"lang": "java",
372+
"source": alternative_java.code.as_str(),
373+
}));
374+
}
369375
}
370376
}
371377
if !code_samples.is_empty() {
2.03 KB
Binary file not shown.

0 commit comments

Comments
 (0)