You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know that there is a way to override docs on each individual struct field like this:
#[derive(JsonSchema)]pubstructOverrideDocs{/// This comment will not be used as the description#[schemars(description = "This is the description!")]pubmy_int:i32,/// This field will have no description set#[schemars(description = "")]pubmy_undocumented_bool:bool,}
But for my use case, it would be awesome if I could opt-out of processing rustdoc comments globally by enabling/disabling an option in SchemaSettings as was mentioned in #13 (comment).
If you are open to including such a feature, I would love to prepare a PR.
The text was updated successfully, but these errors were encountered:
Thanks for the amazing library!
I know that there is a way to override docs on each individual struct field like this:
But for my use case, it would be awesome if I could opt-out of processing rustdoc comments globally by enabling/disabling an option in
SchemaSettings
as was mentioned in #13 (comment).If you are open to including such a feature, I would love to prepare a PR.
The text was updated successfully, but these errors were encountered: