Skip to content

Commit

Permalink
[init]Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
xuybin committed Dec 13, 2017
1 parent 2b1c3f9 commit 52756b4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ The go-mysql-api support swagger.json and provide swagger.html page

Open **/gateway/docs/** to see swagger documents, the interactive documention will be helpful.

And **go-api-gateway** provide the *swagger.json* at path **/gateway/swagger/**
And **go-api-gateway** provide the **swagger.json** at path **/gateway/swagger/**

Because of initialization data into **casbin_rule** table
```bash
p admin /policy/* (GET)|(POST)|(PUT)|(DELETE)
```
So register **admin** first to authorize the operation at **/gateway/docs/**

0 comments on commit 52756b4

Please sign in to comment.