Skip to content

Commit

Permalink
docs: update usage section
Browse files Browse the repository at this point in the history
  • Loading branch information
hanspagel committed Sep 16, 2024
1 parent d3dc668 commit e68cfea
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,19 @@ You’ll need an OpenAPI/Swagger document to render your API reference with Scal
* [dedoc/scramble](https://github.com/dedoc/scramble)
* [vyuldashev/laravel-openapi](https://github.com/vyuldashev/laravel-openapi)

Once done, you can pass it to Scalar:
Once done, you can pass it to Scalar. Just make sure it’s a publicly accessible URL.

```php
<?php

// config/scalar.php

return [
// …

'url' => '/openapi.yaml',

// …
]
```

Expand Down

0 comments on commit e68cfea

Please sign in to comment.