Commit ddce1bc
Fix Swagger UI configuration to use NSwag instead of Swashbuckle (#36929)
* Fix Swagger UI configuration to use NSwag instead of Swashbuckle
The tutorial code used Swashbuckle's UseSwaggerUI() method, but the project already has NSwag.AspNetCore installed. This caused a compilation error since the method wasn't available.
* Remove Swashbuckle.AspNetCore package reference
Removed Swashbuckle.AspNetCore package reference since it is not used for the 9.x version of this sample.
---------
Co-authored-by: Wade Pickett <wpickett@microsoft.com>1 parent b0cb813 commit ddce1bc
File tree
2 files changed
+2
-3
lines changed- aspnetcore/tutorials/first-mongo-app/samples/9.x/BookStoreApi
2 files changed
+2
-3
lines changedLines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments