Don't include "doc" in list of helper attributes
This commit is contained in:
parent
f55572f735
commit
b5e1821f3a
2 changed files with 4 additions and 4 deletions
|
@ -23,10 +23,10 @@ pub struct MyStruct {
|
|||
#[derive(Debug, JsonSchema)]
|
||||
pub struct MyUnitStruct;
|
||||
|
||||
/// # This is the enum's title
|
||||
/// This is
|
||||
#[doc = " # This is the enum's title "]
|
||||
#[doc = " This is "]
|
||||
#[derive(Debug, JsonSchema)]
|
||||
/// the enum's description.
|
||||
#[doc = " the enum's description."]
|
||||
pub enum MyEnum {
|
||||
UndocumentedUnit,
|
||||
/// This comment is not included in the generated schema :(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue