@@ -11,7 +11,7 @@ Pre-built [swagger-ui](https://github.com/swagger-api/swagger-ui/tree/master/dis
1111
1212``` julia
1313julia> ]
14- pkg> add SwaggerUI
14+ pkg> add SwagUI
1515```
1616## Usage
1717
@@ -20,7 +20,7 @@ Genie simple setup
2020``` julia
2121using Genie, Genie. Router
2222using JSON
23- using SwaggerUI
23+ using SwagUI
2424
2525# use a swagger json from the local machine
2626swagger_document = JSON. parsefile (" ./swagger.json" )
@@ -30,12 +30,12 @@ route("/docs") do
3030end
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
3636using Genie, Genie. Router
3737using JSON
38- using SwaggerUI
38+ using SwagUI
3939using SwaggerMarkdown
4040
4141@swagger """
@@ -76,7 +76,7 @@ The explorer can be turned off through setting the `Options.show_explorer` to `f
7676``` julia
7777using Genie, Genie. Router
7878using JSON
79- using SwaggerUI
79+ using SwagUI
8080
8181swagger_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
9797using Genie, Genie. Router
9898using JSON
99- using SwaggerUI
99+ using SwagUI
100100
101101# set the URL pointing to API definition
102102options = Options ()
@@ -116,7 +116,7 @@ Set `Options.custom_css` to a custom CSS as `String`.
116116``` julia
117117using Genie, Genie. Router
118118using JSON
119- using SwaggerUI
119+ using SwagUI
120120
121121swagger_document = JSON. parsefile (" ./swagger.json" )
122122
0 commit comments