Skip to content

Commit f4b5d7e

Browse files
Add description to OpenAPI schemas (Fixes #4473) (#4539) (#4561)
1 parent cdbbe40 commit f4b5d7e

File tree

5 files changed

+170
-8
lines changed

5 files changed

+170
-8
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

compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib.js

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.

0 commit comments

Comments
 (0)