boxdot / openapi-schema

Apache License 2.0
4 stars 1 forks source link

Support serde(flatten) #4

Closed antoine-de closed 5 years ago

antoine-de commented 5 years ago

#[serde(flatten)] is a nice way to factor some fields.

It would be great if openapi-schema did not output the flattened type, and instead add all the fields to the parent object