When using .AddResponseType<T>(), and example should be added to the OpenApiSchema.
When using .AddResponseType(), and example should be added to the OpenApiSchema.