swagger-ui returns 500 after deployment

后端 未结 6 2217
夕颜
夕颜 2020-12-05 03:47

Out of the box configuration works perfectly on my machine, no problems at all.

But when I deploy to our test environment - I get the following message

6条回答
  •  天命终不由人
    2020-12-05 04:21

    Swashbuckle is hiding the real error message due to your customErrors setting in web.config. If you set customErrors to off you should get a better error message.

    
        
    
    

提交回复
热议问题