Skip to content

Commit

Permalink
L5
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Lapp committed Mar 27, 2015
1 parent 69cd3d5 commit 1f954f5
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions src/config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
| Absolute path to location where parsed swagger annotations will be stored
|--------------------------------------------------------------------------
*/
'doc-dir' => app_path() . '/storage/docs',
'doc-dir' => storage_path() . '/api-docs',

/*
|--------------------------------------------------------------------------
Expand All @@ -34,7 +34,7 @@
|--------------------------------------------------------------------------
*/
"excludes" => array(
app_path()."/storage",
storage_path(),
app_path()."/tests",
app_path()."/views",
app_path()."/config"
Expand All @@ -45,23 +45,28 @@
| Turn this off to remove swagger generation on production
|--------------------------------------------------------------------------
*/
"generateAlways" => true,
"generateAlways" => env('SWAGGER_GENERATE_ALWAYS', false),

"api-key" => "auth_token",
/*
|--------------------------------------------------------------------------
| Edit to set the api's Auth token
|--------------------------------------------------------------------------
*/
"api-key" => env('API_AUTH_TOKEN', 'SomeRandomString'),

/*
|--------------------------------------------------------------------------
| Edit to set the api's version number
|--------------------------------------------------------------------------
*/
"default-api-version" => "",
"default-api-version" => env('DEFAULT_API_VERSION', '1.0'),

/*
|--------------------------------------------------------------------------
| Edit to set the swagger version number
|--------------------------------------------------------------------------
*/
"default-swagger-version" => "1.2",
"default-swagger-version" => env('SWAGGER_VERSION', '2.0'),

/*
|--------------------------------------------------------------------------
Expand Down

0 comments on commit 1f954f5

Please sign in to comment.