Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatenkovnikita authored Aug 21, 2017
1 parent a565d93 commit baf3fc5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ You set url, where locate json file OR set path for scan
'class' => \ignatenkovnikita\swagger\Module::class,
// 'url' => 'http://petstore.swagger.io/v2/swagger.json',
'path' => '@frontend/modules/api',
// disable page with your logic
'isDisable' => function () {
return false;
},
Expand All @@ -67,9 +68,7 @@ Now you open yourdomain.com/swagger and see API documentation

### TODO
- add cache
- add security for page
- add customization
- add callback (before generate replace domen and other setting)


## Donate
Expand Down

0 comments on commit baf3fc5

Please sign in to comment.