-
-
Notifications
You must be signed in to change notification settings - Fork 1
Feature Sticky Operations
teociaps edited this page Nov 27, 2025
·
2 revisions
Keep the operations panel visible while scrolling through API documentation.
- ✅ Faster Navigation - Access operation tags without scrolling back up
- ✅ Better UX - Especially useful for large APIs with many endpoints
- ✅ Always Visible - Know where you are in the documentation

using AspNetCore.Swagger.Themes;
app.UseSwaggerUI(Theme.Dark, options =>
{
options.EnableStickyOperations();
});using AspNetCore.Swagger.Themes;
app.UseSwaggerUi(Theme.Dark, settings =>
{
settings.EnableStickyOperations();
});Adjust the sticky operations appearance when hovering:
:root {
--opblock-tag-pinned-background-color-hover: #your-color; /* Background color when hovering over pinned tag */
}Works with:
- ✅ All predefined themes
- ✅ Custom themes
- ✅ All other advanced features
- ✅ Theme Switcher
- Customize with CSS Variables - Fine-tune sticky behavior
- Enable Other Features - Combine with other UI enhancements
- Explore All Features - See what else is available
🚀 Getting Started
✨ Features
📖 Migration Guides