Skip to content

Commit 3a76802

Browse files
committed
comment
1 parent 38d8bd7 commit 3a76802

File tree

1 file changed

+3
-0
lines changed
  • compiler-rs/clients_schema_to_openapi/src

1 file changed

+3
-0
lines changed

compiler-rs/clients_schema_to_openapi/src/paths.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,9 @@ fn get_path_parameters(template: &str) -> Vec<&str> {
314314
result
315315
}
316316

317+
// Splits the original endpoint description into OpenAPI summary and description, where summary
318+
// is the first sentence of the original description with no trailing `.`, and description contains
319+
// the remaining sentences, if there are any left.
317320
fn split_summary_desc(desc: &str) -> SplitDesc{
318321
let segmenter = SentenceSegmenter::new();
319322

0 commit comments

Comments
 (0)