[BUG] rust-server doesn't seem to like examples
Created by: jamessewell
Hi,
I'm using rust-server
with 4.0.1
.
I have a path which returns an schema defined as below:
$ref: '#/components/schemas/Alert
This schema is a test one, and is defined as:
Alert:
type: object
properties:
name:
type: string
example: "Test string"
This renders the following code in examples/client.rs
// Disabled because there's no example.
Some("ExecuteAlert") => {
let result = core.run(client.execute_alert(???));
println!("{:?} (X-Span-ID: {:?})", result, (client.context() as &Has<XSpanIdString>).get().clone());
},
Is this something which is meant to work when examples are set?