Skip to content

The long API call gets lost #1104

@andzeraru

Description

@andzeraru

Describe the bug

When calling APIs that take a long time, the response gets 'lost'. If it's an internal client timeout, it would be ideal to configure the client timeout parametrically."

Expected behavior

First of all, the interface should display the issue rather than ignoring it. For example, it should indicate a timeout.
Second, it would be convenient if the timeout duration could be configurable.

Current behavior

For an API call that takes a long time (but in a 'expected' way), the response is completely lost and ignored.

Possible solution

see "Expected behavior"

Steps to reproduce

  1. Pre-requisite: Set up an API that takes a long time to respond.
  2. Pre-requisite: Configure OpenAPI for that API and integrate it into the implementation.
  3. Call the API using the docusaurus-openapi-docs plugin.

Screenshots

Image

Your Environment

  • Version used: v3.0.0-beta.4 (Docusaurus version 3.1.0)
  • Environment name and version:
    • Docusaurus side: Chrome Browser 122.0.6261.71 (Official build 64 bit);
    • BE side: SpringBoot BE engine and NGINX web server
  • Operating System and version (desktop or mobile): Windows 11 Desktop

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions