-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
needs-reproA minimal reproducible example is neededA minimal reproducible example is needed
Description
Describe the bug
In generated swagger.jwon property description object doesn't contain "format"
Expected behavior
"components": {
"schemas": {
"WeatherForecast": {
"type": "object",
"properties": {
"date": {
"type": "string",
"format": "date-time"
},
Actual behavior
"components": {
"schemas": {
"WeatherForecast": {
"type": "object",
"properties": {
"date": {
"type": "string",
"format": "date-time"
},
Steps to reproduce
Generate swagger.json for ASP.NET Core Web Api using class with DateTime property
Exception(s) (if any)
No response
Swashbuckle.AspNetCore version
6.7.0
.NET Version
8.0.303
Anything else?
With version 6.6.2 everything works as expected
Metadata
Metadata
Assignees
Labels
needs-reproA minimal reproducible example is neededA minimal reproducible example is needed