Skip to content

docs: improve server replace guide#2770

Merged
kanoru3101 merged 5 commits into
mainfrom
chore/update-replace-servers-url-doc
Apr 24, 2026
Merged

docs: improve server replace guide#2770
kanoru3101 merged 5 commits into
mainfrom
chore/update-replace-servers-url-doc

Conversation

@kanoru3101
Copy link
Copy Markdown
Contributor

@kanoru3101 kanoru3101 commented Apr 23, 2026

What/Why/How?

Improved server replace guide.

Reference

Close #1518

Testing

Screenshots (optional)

Check yourself

  • This PR follows the contributing guide
  • All new/updated code is covered by tests
  • Core code changed? - Tested with other Redocly products (internal contributions only)
  • New package installed? - Tested in different environments (browser/node)
  • Documentation update has been considered

Security

  • The security impact of the change has been considered
  • Code follows company security practices and guidelines

Note

Low Risk
Documentation-only updates that clarify setup and configuration; no runtime code changes or behavioral impact.

Overview
Updates the replace-servers-url guide to align with Redocly CLI 2.x and streamline the tutorial flow.

Clarifies the plugin/decorator responsibilities, updates prerequisites and wording, and adjusts the configuration example to show one API entry per environment passing different serverUrl values, plus minor command phrasing and admonition guidance.

Reviewed by Cursor Bugbot for commit bd505fd. Bugbot is set up for automated code reviews on this repo. Configure here.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 23, 2026

⚠️ No Changeset found

Latest commit: bd505fd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@kanoru3101 kanoru3101 changed the title docs: Improve server replace guide docs: improve server replace guide Apr 23, 2026
@kanoru3101 kanoru3101 self-assigned this Apr 23, 2026
@kanoru3101 kanoru3101 requested a review from a team April 23, 2026 11:24
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 23, 2026

CLI Version Mean Time ± Std Dev (s) Relative Performance (Lower is Faster)
cli-latest 3.069s ± 0.029s ▓ 1.00x
cli-next 3.054s ± 0.018s ▓ 1.00x (Fastest)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 23, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 80.04% (🎯 80%) 7100 / 8870
🔵 Statements 79.45% (🎯 79%) 7379 / 9287
🔵 Functions 83.45% (🎯 83%) 1428 / 1711
🔵 Branches 71.5% (🎯 71%) 4799 / 6711
File CoverageNo changed files found.
Generated in workflow #9610 for commit bd505fd by the Vitest Coverage Report Action


- [Install @redocly/cli](../installation.md) with version 1.0.0-beta.111 or later (we use 1.0.0-beta.111 in this tutorial).
- Save the following OpenAPI file as `original.yaml` into a new directory named `replace-servers-demo`.
```yaml
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The duplicate example has been removed. The same example is provided in the next section.

Comment thread docs/@v2/guides/replace-servers-url.md Outdated
@kanoru3101 kanoru3101 marked this pull request as ready for review April 24, 2026 06:21
@kanoru3101 kanoru3101 requested a review from a team as a code owner April 24, 2026 06:21
@kanoru3101 kanoru3101 requested a review from tatomyr April 24, 2026 06:22
@kanoru3101 kanoru3101 merged commit 7e0adf5 into main Apr 24, 2026
46 of 47 checks passed
@kanoru3101 kanoru3101 deleted the chore/update-replace-servers-url-doc branch April 24, 2026 09:08
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.

Improve server replace guide

3 participants