Open Closed

Failed to generate schema for type - Volo.Abp.Application.Dtos.PagedResultDto`1[CSM.Inbound.Shared.LookupDto`1[System.Nullable`1[System.Guid]]]. See inner exception #1427


User avatar
0
sunivycsm created

I am using suite to gen CRUD. But when I run httpApi.Host this occurs. Other parts like IdentityServer, Web still work normally.Here is the code I use


2 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    You can try :

    services.AddAbpSwaggerGenWithOAuth(...,options =>
    {
        ......
        
        options.CustomSchemaIds(type => type.ToString());
    });
    
  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11