This repository was archived by the owner on Jul 28, 2026. It is now read-only.
feat(custom-plugin-decorators): add set-servers-urls example - #50
Merged
tatomyr merged 6 commits intoJul 10, 2026
Merged
Conversation
TKostrzewski
force-pushed
the
feat/add-set-server-url-plugin-example
branch
from
October 21, 2025 13:51
0e91bee to
916c932
Compare
tatomyr
reviewed
Jul 10, 2026
|
|
||
| A custom plugin/decorator pair that sets the API server(s) URL(s) of the OpenAPI specification. If a `servers` field is already present, it will be overwritten. | ||
|
|
||
| The [replace servers URL plugin example](https://redocly.com/docs/cli/guides/replace-servers-url), unfortunately, does not account for when the `servers` field is not already present in the OpenAPI specification. |
Contributor
There was a problem hiding this comment.
@TKostrzewski I wonder if it wouldn't be better to simply update the guide itself? 🙂
Jus in case, the source lies here: https://github.com/Redocly/redocly-cli/blob/main/docs/%40v2/guides/replace-servers-url.md.
JLekawa
reviewed
Jul 10, 2026
JLekawa
approved these changes
Jul 10, 2026
tatomyr
reviewed
Jul 10, 2026
tatomyr
reviewed
Jul 10, 2026
tatomyr
reviewed
Jul 10, 2026
tatomyr
reviewed
Jul 10, 2026
Co-authored-by: Jacek Łękawa <164185257+JLekawa@users.noreply.github.com>
tatomyr
force-pushed
the
feat/add-set-server-url-plugin-example
branch
from
July 10, 2026 11:31
cacdeb3 to
a193727
Compare
Contributor
|
Thanks for the contribution @TKostrzewski! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.