Skip to content

Commit 391571d

Browse files
Add description to OpenAPI schemas (Fixes #4473) (#4587)
1 parent 97a659f commit 391571d

File tree

5 files changed

+163
-2
lines changed

5 files changed

+163
-2
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)