Skip to content

Commit

Permalink
Update utoipa-swagger-ui install example
Browse files Browse the repository at this point in the history
  • Loading branch information
juhaku committed Nov 26, 2022
1 parent 65842b9 commit afa62d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utoipa-swagger-ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ more details at [serve](https://docs.rs/utoipa-swagger-ui/latest/utoipa_swagger_
Use only the raw types without any boiler plate implementation.
```toml
[dependencies]
utoipa-swagger-ui = "2"
utoipa-swagger-ui = "3"

```
Enable actix-web framework with Swagger UI you could define the dependency as follows.
```toml
[dependencies]
utoipa-swagger-ui = { version = "2", features = ["actix-web"] }
utoipa-swagger-ui = { version = "3", features = ["actix-web"] }
```

**Note!** Also remember that you already have defined `utoipa` dependency in your `Cargo.toml`
Expand Down

0 comments on commit afa62d2

Please sign in to comment.