Swagger interface cannot load API documents via http / 2

I am trying to run Swashbuckle in an application hosted on Windows Server 2016 with HTTP / 2 (also called SPDY). When I access the url for api swagger, I get ERR_SPDY_PROTOCOL_ERROR. I can access the user interface page, but it is empty because it cannot get api docs.

Has anyone come across this? Any solution?

(This is with version 5.2.1.)

+4
source share

Source: https://habr.com/ru/post/1679167/


All Articles