Skip to content

Commit

Permalink
Update readme (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
teociaps authored Aug 19, 2024
2 parents 42dd08d + 2d5cc59 commit 90640cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ Change style to your API documentation in ASP.NET Core applications!

| Package | Purpose |
| ------- | ------- |
| ![Swashbuckle Nuget Version] | Customize the style for [Swashbuckle.AspNetCore.SwaggerUI] |
| ![NSwag Nuget Version] | Customize the style for [NSwag.AspNetCore] |
| [![Swashbuckle Nuget Version]](https://www.nuget.org/packages/AspNetCore.SwaggerUI.Themes/) | Customize the style for [Swashbuckle.AspNetCore.SwaggerUI] |
| [![NSwag Nuget Version]](https://www.nuget.org/packages/NSwag.AspNetCore.Themes/) | Customize the style for [NSwag.AspNetCore] |


> [!WARNING]
Expand Down
3 changes: 1 addition & 2 deletions src/AspNetCore.SwaggerUI.Themes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ Customize the Swashbuckle API documentation UI by using **AspNetCore.SwaggerUI.T
```

This code enables the chosen theme for Swagger UI in your application.

> [!NOTE]

> Using the `InjectStylesheet()` method in the Swagger UI configuration will override the provided style.
> See [here](https://github.com/teociaps/SwaggerUI.Themes?tab=readme-ov-file#custom-styles) how to inject custom styles.
Expand Down
1 change: 0 additions & 1 deletion src/NSwag.AspNetCore.Themes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ Customize the NSwag API documentation UI by using **NSwag.AspNetCore.Themes** in

This code enables the chosen theme for Swagger UI in your application.

> [!NOTE]
> Setting the `CustomInlineStyles` property while configuring the NSwag settings will override the provided style.
> See [here](https://github.com/teociaps/SwaggerUI.Themes?tab=readme-ov-file#custom-styles) how to inject custom styles.
Expand Down

0 comments on commit 90640cb

Please sign in to comment.