Skip to content

Change theme to your Swagger API documentation in ASP.NET Core applications easily.

License

Notifications You must be signed in to change notification settings

teociaps/SwaggerUI.Themes

Repository files navigation

SwaggerUI.Themes

Build Passing Tests Passing

Customize your API documentation in ASP.NET Core applications!

Explore the Wiki to learn more and get started.

Package Purpose
Swashbuckle Nuget Version Customize the style for Swashbuckle.AspNetCore.SwaggerUI
NSwag Nuget Version Customize the style for NSwag.AspNetCore

Warning

If you're upgrading from 1.0.0 to 2.x, there's a breaking change to be aware of: NoJsModernStyle is no more available, use ModernStyle instead. See the release notes for details.

Features

  • Predefined Themes: choose from a variety of themes to customize the Swagger documentation interface. Options include a default style that preserves the classic Swagger UI look, along with fresh, modern styles.

  • Custom Styles: design your own Swagger UI style by either extending the classic or modern base styles or creating a completely new look.

  • 🆕 Advanced Options: access expanded features with both classic and modern styles for an optimized API documentation experience.

Supported .NET Versions

Version Status
.NET 6 Badge
.NET 7 Badge
.NET 8 Badge
.NET 9 Badge

* Still available but it won't receive any update!

Contributing

If you have any suggestions, bug reports, or contributions, feel free to open an issue or submit a pull request.