OpenAPI.NET icon indicating copy to clipboard operation
OpenAPI.NET copied to clipboard

Attributes are moved to allOf instead of in the root of an object after updating Swashbuckle.AspNetCore from 6.5.0 to 6.6.2

Open DerGary opened this issue 1 year ago • 0 comments

Describe the bug We are using swagger cli to create a openapi json file. After Updating to the newest version the generated json file changed: image This seems to be wrong, as the hey-api client generator generates a wrong type out of it: image

OpenApi File To Reproduce We are generating it from source so there is not open api file.

Expected behavior I expect the previous behaviour, which is the left side of the comparison image.

Additional context I also opened a bug in the Swashbuckle repository first, and was redirected from there. Swashbuckle Issue

DerGary avatar Jun 28 '24 14:06 DerGary