Skip to content

Commit 2eeacf8

Browse files
Add description to OpenAPI schemas (Fixes #4473) (#4539)
1 parent d87b8c1 commit 2eeacf8

File tree

4 files changed

+176
-0
lines changed

4 files changed

+176
-0
lines changed

compiler-rs/clients_schema_to_openapi/src/schemas.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,10 @@ impl<'a> TypesAndComponents<'a> {
363363
_ => bail!("Unknown behavior {}", &bh.typ),
364364
}
365365
}
366+
367+
// description
368+
schema.schema_data.description = itf.base.description.clone();
369+
366370
Ok(schema)
367371
}
368372

Binary file not shown.

0 commit comments

Comments
 (0)