0


You need to log in to create posts and topics.

Swagger Error

I get this error right from unzipping and running the application.
I have spent much time with Google, she gave me many suggestions but none that really helped.
Does anyone have any clues how to fix this?  Much appreciated!

https://localhost:44350/swagger/index.html

Failed to load API definition.
Fetch error
undefined /swagger/v1/swagger.json

Thanks,
Scott

I managed to find the offending code.

In the TwitterController the annotation for the RequestToken method:

[AcceptVerbs("text/plain")]

I simply commented this line out.  I'm not sure what it should be, but Swagger won't initialize with this line of code.

Thank you in advance if anyone can give a proper replacement for this line of code.

Scott

Hi,

I have the same error and resolve it. But I do not know what I am installed.

 

https://localhost:44350/swagger/v1/swagger.json

then you can see the error.

 

regards Ingo