Skip to content

Add configurable Timeout setting to UI at instantiation #3659

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ghost opened this issue Sep 13, 2017 · 1 comment
Open

Add configurable Timeout setting to UI at instantiation #3659

ghost opened this issue Sep 13, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 13, 2017

Looking for a way to increase the timeout setting on Swagger UI due to having a very under powered dev instance and came across this: springfox/springfox#1523

I've used the solution and it works if you edit index.html and add it the line below immediately after the supportedSubmitMethods line:

timeout: 60000,

Just a note in case if helps someone after and a suggestion to add the setting into the build, I believe the default is at 30000ms just now.

I was using Swagger-PHP version 2.0.11 and Swagger UI v2.2.10 and havent checked if it is now included in later versions

@xuanswe
Copy link

xuanswe commented Nov 13, 2020

Swagger UI 3.0.0 still does not support requestTimeout :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants