Skip to content

Commit c858d7c

Browse files
committed
[edit] readme
1 parent 5cd52f9 commit c858d7c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
1. Add `Simplify.Web.Swagger`, `Swashbuckle.AspNetCore.SwaggerGen` and `Swashbuckle.AspNetCore.SwaggerUI` packages to your project
1616

1717
```xml
18-
<PackageReference Include="Simplify.Web.Swagger" Version="0.1.*" />
19-
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="6.3.*" />
20-
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" Version="6.3.*" />
18+
<PackageReference Include="Simplify.Web.Swagger" Version="1.0.*" />
19+
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="6.6.*" />
20+
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" Version="6.6.*" />
2121
```
2222

2323
1. Add `AddSimplifyWebSwagger` in `AddSwaggerGen` registration and `Simplify.Web` controllers will be scanned during Swagger generation process.
@@ -45,11 +45,11 @@ app.Run();
4545
4. Add controller Swagger attributes (if needed)
4646

4747
```csharp
48-
[Get("/api/v1/users/{id:int}")]
48+
[Get("/api/v1/users/{id}")]
4949
[ApiVersion("1.0")]
5050
[ProducesResponse(StatusCodes.Status200OK, "application/json")]
5151
[ProducesResponse(StatusCodes.Status500InternalServerError)]
52-
public class GetController : Simplify.Web.Controller
52+
public class GetController : Controller2
5353
{
5454
...
5555
}
-28.1 KB
Loading

0 commit comments

Comments
 (0)