Skip to content

Commit 083091e

Browse files
committed
2 parents d516b52 + 6969634 commit 083091e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Pre-built [swagger-ui](https://github.com/swagger-api/swagger-ui/tree/master/dis
1111

1212
```julia
1313
julia> ]
14-
pkg> add SwaggerUI
14+
pkg> add SwagUI
1515
```
1616
## Usage
1717

@@ -20,7 +20,7 @@ Genie simple setup
2020
```julia
2121
using Genie, Genie.Router
2222
using JSON
23-
using SwaggerUI
23+
using SwagUI
2424

2525
# use a swagger json from the local machine
2626
swagger_document = JSON.parsefile("./swagger.json")
@@ -30,12 +30,12 @@ route("/docs") do
3030
end
3131
```
3232

33-
### Inegrate with [Swagger Markdown](https://github.com/jiachengzhang1/SwaggerMarkdown)
33+
### Inegrate with [Swagger Markdown](https://github.com/GenieFramework/SwaggerMarkdown.jl)
3434

3535
```julia
3636
using Genie, Genie.Router
3737
using JSON
38-
using SwaggerUI
38+
using SwagUI
3939
using SwaggerMarkdown
4040

4141
@swagger """
@@ -76,7 +76,7 @@ The explorer can be turned off through setting the `Options.show_explorer` to `f
7676
```julia
7777
using Genie, Genie.Router
7878
using JSON
79-
using SwaggerUI
79+
using SwagUI
8080

8181
swagger_document = JSON.parsefile("./swagger.json")
8282

@@ -96,7 +96,7 @@ Swagger UI can be configured by setting `Options.swagger_options::Dict{String, A
9696
```julia
9797
using Genie, Genie.Router
9898
using JSON
99-
using SwaggerUI
99+
using SwagUI
100100

101101
# set the URL pointing to API definition
102102
options = Options()
@@ -116,7 +116,7 @@ Set `Options.custom_css` to a custom CSS as `String`.
116116
```julia
117117
using Genie, Genie.Router
118118
using JSON
119-
using SwaggerUI
119+
using SwagUI
120120

121121
swagger_document = JSON.parsefile("./swagger.json")
122122

0 commit comments

Comments
 (0)