Open
Description
Describe the bug
I'm trying to generate using Refitter the client fot this openapi json file, but even when using the option useIsoDateFormat the [Query] attribute is not generated using the Format property. After trying to debug the problem I found out that in this line of code the property IsDateOrDateTime
is false
. I couldn't investigate further unfortunately, because I didn't found the root cause
Support Key: 6fb4645
To Reproduce
Steps to reproduce the behavior:
- Go to 'UseIsoDateFormatTests.cs'
- Change the
'format'
and'type'
properties of one of the dates to be inside the'schema'
object (like in the generated file above) - Try to run the test
- See the test fail
Expected behavior
Scaffold the client correctly using the 'schema'
property
Visual Studio Extension (please complete the following information):
- Visual Studio 2022
- Extension Version 1.17.0
Metadata
Metadata
Assignees
Labels
No labels