Skip to content

Is the "scheme" property supported? #1055

Open
@Denny09310

Description

@Denny09310

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:

  1. Go to 'UseIsoDateFormatTests.cs'
  2. Change the 'format' and 'type' properties of one of the dates to be inside the 'schema' object (like in the generated file above)
  3. Try to run the test
  4. 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

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions