Skip to content

fix(api-ref): show server description in dropdown - #3576

Open
sakshamarora-arch wants to merge 1 commit into
LambdaTest:stagefrom
sakshamarora-arch:fix/api-server-labels-stage
Open

sakshamarora-arch wants to merge 1 commit into
LambdaTest:stagefrom
sakshamarora-arch:fix/api-server-labels-stage

Conversation

@sakshamarora-arch

Copy link
Copy Markdown
Contributor

Summary

  • The API reference server selector dropdown was only showing raw URLs (e.g. https://api.lambdatest.com/automation/api/v2)
  • Now it appends the OpenAPI description field so users see labels like https://api.lambdatest.com/automation/api/v2 - V2
  • One-line fix in EndpointDetail.js — uses s.description when available

Test plan

  • Open any API reference page with multiple servers (e.g. Selenium Automation)
  • Verify the server dropdown shows URL - Description format
  • Verify pages with no server description still show just the URL

🤖 Generated with Claude Code

The server selector dropdown only displayed the raw URL. Now it appends
the OpenAPI description field (e.g. "V2", "EU") so users can identify
which server they are selecting.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

This branch has not been deployed

No deployments
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 this pull request may close these issues.

1 participant