You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue:
When moving from version 6.7.1 to 6.7.2 there is an issue where the schema for swagger fails to generate and the http status code Internal Server Error is returned.
The problem from exception is: Expected Dictionary to have two generic type arguments but it had 1.
Background:
I am using several base models for API models which is probably causing the problem. One of them is based on the dictionary type. I've been using them since version 5.4.1 without any issues.
Tried:
I tried updating to the latest current version 6.9.0 but it still doesn't fix the issue.
Example:
I made a minimalistic example using my base models to demonstrate the problem. When you downgrade to <6.7.2 it should work.
Describe the bug
Issue:
When moving from version 6.7.1 to 6.7.2 there is an issue where the schema for swagger fails to generate and the http status code Internal Server Error is returned.
The problem from exception is: Expected Dictionary to have two generic type arguments but it had 1.
Background:
I am using several base models for API models which is probably causing the problem. One of them is based on the dictionary type. I've been using them since version 5.4.1 without any issues.
Tried:
I tried updating to the latest current version 6.9.0 but it still doesn't fix the issue.
Example:
I made a minimalistic example using my base models to demonstrate the problem. When you downgrade to <6.7.2 it should work.
Expected behavior
No response
Actual behavior
No response
Steps to reproduce
https://github.com/maantoszyk/swagger-bug-report
Exception(s) (if any)
Swashbuckle.AspNetCore version
6.7.2
.NET Version
.NET 8
Anything else?
The text was updated successfully, but these errors were encountered: