Skip to content

feat(openapi): add custom Scalar render options example#4416

Merged
provinzkraut merged 2 commits intolitestar-org:mainfrom
Umpire2018:fix-issue-4381
Jan 7, 2026
Merged

feat(openapi): add custom Scalar render options example#4416
provinzkraut merged 2 commits intolitestar-org:mainfrom
Umpire2018:fix-issue-4381

Conversation

@Umpire2018
Copy link
Copy Markdown
Contributor

@Umpire2018 Umpire2018 commented Oct 10, 2025

Description

This PR added a example that demonstrates how to customize Scalar render options using the options parameter in ScalarRenderPlugin.

Besides, here is an alternative provided by copilot. I found that there is enhancement after reviewing this PR and then came up with another solution.

Closes #4381 , thanks to @JacobCoffee BTW.

- Refactor `docs/usage/openapi/ui_plugins.rst` to merge and clarify configuration and customization, avoiding duplication.
@Umpire2018 Umpire2018 requested review from a team as code owners October 10, 2025 07:21
@github-actions github-actions bot added area/docs This PR involves changes to the documentation size: small type/feat pr/external Triage Required 🏥 This requires triage labels Oct 10, 2025
@github-actions
Copy link
Copy Markdown

Documentation preview will be available shortly at https://litestar-org.github.io/litestar-docs-preview/4416

@provinzkraut provinzkraut enabled auto-merge (squash) January 7, 2026 10:51
@provinzkraut provinzkraut merged commit 44c1fa4 into litestar-org:main Jan 7, 2026
25 checks passed
provinzkraut pushed a commit that referenced this pull request Jan 25, 2026
- Refactor `docs/usage/openapi/ui_plugins.rst` to merge and clarify configuration and customization, avoiding duplication.

(cherry picked from commit 44c1fa4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docs This PR involves changes to the documentation pr/external pr/internal size: small Triage Required 🏥 This requires triage type/feat

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create example for customizing Scalar render options

3 participants