We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got some bad news, Swashbuckle.AspNetCore 7.1.0 has a breaking change, again.
What I can see, it is easily fixed by reverting the following method:
private Dictionary<string, OpenApiSchema> GetSchemaProperties(OperationFilterContext context, OpenApiMediaType mediaType, PropertyInfo propertyInfo) { // Group all exploded properties. // IEnumerable<IGrouping<string, KeyValuePair<string, OpenApiSchema>>> allProperties = mediaType.Schema.Properties // .GroupBy(pair => pair.Key.Split('.')[0]); var allProperties = mediaType.Schema.AllOf .SelectMany(x => x.Properties) .GroupBy(pair => pair.Key.Split('.')[0]);
to
private Dictionary<string, OpenApiSchema> GetSchemaProperties(OperationFilterContext context, OpenApiMediaType mediaType, PropertyInfo propertyInfo) { // Group all exploded properties. IEnumerable<IGrouping<string, KeyValuePair<string, OpenApiSchema>>> allProperties = mediaType.Schema.Properties
The text was updated successfully, but these errors were encountered:
Does it throw any exception or does not work at all?
Sorry, something went wrong.
It doesn't throw any exceptions but there are no properties at all in the request body.
I will look into that. Again.
No branches or pull requests
Got some bad news, Swashbuckle.AspNetCore 7.1.0 has a breaking change, again.
What I can see, it is easily fixed by reverting the following method:
to
The text was updated successfully, but these errors were encountered: