Fix: CS0200 Property or indexer 'IOpenApiMediaType.Example' cannot be assigned to -- it is read only
Microsoft.AspNetCore.OpenApi 10.x only works with Microsoft.OpenApi 2.x. Remove the direct 3.x reference or pin 2.x; disabling the generator just moves the failure to runtime.