Closed juhaku closed 1 month ago
Add support for overriding description with description attribute on ToSchema macro. Description attributes can be used type level of struts and enums.
description
ToSchema
Example of enum which uses description overriding.
#[schema( description = include_str!("./testdata/description_override") )] enum SimpleEnum { Value1 }
Resolves #802
Add support for overriding description with
description
attribute onToSchema
macro. Description attributes can be used type level of struts and enums.Example of enum which uses description overriding.
Resolves #802