Skip to content
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

Request duration is not showing when API respond with 400 status code #6618

Open
turivishal opened this issue Nov 14, 2020 · 1 comment · May be fixed by #10064
Open

Request duration is not showing when API respond with 400 status code #6618

turivishal opened this issue Nov 14, 2020 · 1 comment · May be fixed by #10064

Comments

@turivishal
Copy link

Q&A

  • OS: Windows 10 Pro
  • Browser: chrome
  • Version: 83.0.4103.97 (Official Build) (64-bit)
  • Method of installation: npm
  • Swagger-UI Express: ^4.1.4
  • Swagger-UI version: 3.18.3
  • Swagger/OpenAPI version: 3.0.1

Content & configuration

I have an issue related request duration parameter displayRequestDuration: true, its showing request duration perfectly when API respond with 200 status code but if API respond with other status code like 400, 409 its not showing Request duration.

Status Code 200

image

Status Code 400

image

swagger-ui-express response:

Issue-199:
This issue is specific to swagger-ui (https://github.com/swagger-api/swagger-ui). Please raise them with swagger-ui directly.
This module is a wrapper for swagger-ui for express.

@sleepo581
Copy link

+1
It would be nice to see request duration with 4xx and 5xx responses as well

@AndreMantas AndreMantas linked a pull request Jul 8, 2024 that will close this issue
17 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants