Is there an existing issue for this?
Describe the bug
After updating from Microsoft.AspNetCore.OpenApi 10.0.1 to 10.0.2 the OpenApi specification is missing the enum description.
[Description("My enum description")]
public enum MyEnum
{
None,
FirstOption,
SecondOption
}
In v10.0.1
"MyEnum": {
"enum": [
"None",
"FirstOption",
"SecondOption"
],
"description": "My enum description"
}
In v10.0.2
"MyEnum": {
"enum": [
"None",
"FirstOption",
"SecondOption"
]
}
Expected Behavior
"MyEnum": {
"enum": [
"None",
"FirstOption",
"SecondOption"
],
"description": "My enum description"
}
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
10.0.100
Anything else?
No response
Is there an existing issue for this?
Describe the bug
After updating from Microsoft.AspNetCore.OpenApi 10.0.1 to 10.0.2 the OpenApi specification is missing the enum description.
In v10.0.1
In v10.0.2
Expected Behavior
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
10.0.100
Anything else?
No response