Skip to content

Commit

Permalink
Adding Alfred support and some clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
JustSteveKing committed Jun 11, 2024
1 parent d8e4b06 commit 37fd925
Show file tree
Hide file tree
Showing 4 changed files with 3,327 additions and 1,701 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ You can install this package via composer:
composer require juststeveking/laravel-redoc
```

## Enabling Alfred

To enable Alfred on your docs, visit: https://www.treblle.com/product/alfred or https://docs.treblle.com/treblle/ai-assistant

## Configuration

Expand All @@ -32,6 +35,12 @@ return [
'name' => env('REDOC_PATH_NAME', 'docs'),
'url' => env('REDOC_PATH_URL', 'api/docs'),
],

'alfred' => [
'enabled' => env('REDOC_ALFRED', true),
'project_id' => env('ALFRED_PROJECT_ID', null),
'api_key' => env('ALFRED_API_KEY', null),
],

'openapi' => [
'path' => env('REDOC_OPENAPI_PATH', 'http://petstore.swagger.io/v2/swagger.json')
Expand Down
Loading

0 comments on commit 37fd925

Please sign in to comment.