OpenAPI.NET
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
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:
This seems to be wrong, as the hey-api client generator generates a wrong type out of it:
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