IMPORTANT!
This forum is now archived. Click here for the New Support Forum
Swagger Error
Quote from Scott Willis on February 25, 2020, 2:42 pmI 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.jsonThanks,
Scott
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
Quote from Scott Willis on February 25, 2020, 3:13 pmI 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
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
Quote from Ingo on February 26, 2020, 2:53 pmHi,
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
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
IMPORTANT!
This forum is now archived. Click here for the New Support Forum