Contributions
Re: Increasing timeout in Try it on in SwaggerHub.
Hi Since 2019 the request timeout was increased from 10s to 30s. According to current documentationthe request timeout is not configurable and is set to: 30 seconds in SwaggerHub SaaS 30 seconds in SwaggerHub On-Premise 1.21.0 and later 10 seconds in earlier versions of SwaggerHub On-Premise To checkOpenAPI 3.0 availablefeatures, please refer here. Do you need to increase it even more? What value will suit you?2.2KViews0likes0CommentsRe: Pass parameter automatically when invoke APIs on SwaggerHub
Hi, SwaggerHub is a platform dedicated to write specifications of users` current or future APIs. While writing a specification (aka definition) you do not implement any business logic to it. You can pass parameters using "Try it out" functionality only. Ultimately, I would like to conclude that there is no functionality implemented your are asking for.460Views1like0CommentsRe: swagger security oauth2 authorisation code workflow request headers
Hi In your case I might suggest you 2 solutions: Use proxy mode. You can enable proxy settings in thebottom of your specification on SwaggerHub OpenAPI editor page. Here is an image for clarification. If you route the request via browser, then you should allow CORS requests in the configuration of your server. CORS uses special HTTP headers to allow cross-domain requests.The "try it out" feature requires the following headers in API responses: Access-Control-Allow-Origin: https://app.swaggerhub.com Vary: Origin Since you are sending request from SwaggerHub, the origin value ishttps://app.swaggerhub.com If you are expecting a request from any origin while using a wildcard in the response header, you should disable credentials onSwaggerHub OpenAPI editor page (check the bottom settings in the previous screenshot). Also, I would like to recommend you the this article on CORS to get into SwaggerHub.568Views0likes0Comments