Skip to content

Commit

Permalink
remove swager main annotaion from package
Browse files Browse the repository at this point in the history
  • Loading branch information
qunabu committed Apr 26, 2021
1 parent c77eb90 commit b0ea92a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
- name: Setup environment
run: cp -r env/codecov/. .

- name: add Swagger main annotaion
run: php -r "file_put_contents('src/HeadlessH5PServiceProvider.php', str_replace('SWAGGER_VERSION', '@OA\Info(title=\"EscolaLMS\", version=\"0.0.1\")', file_get_contents('src/HeadlessH5PServiceProvider.php')));"

- name: Update composer
run: composer update

Expand Down
2 changes: 1 addition & 1 deletion src/HeadlessH5PServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
use EscolaLms\HeadlessH5P\Repositories\H5PContentRepository;

/**
* @OA\Info(title="EscolaLMS", version="0.0.1")
* SWAGGER_VERSION
*/

class HeadlessH5PServiceProvider extends ServiceProvider
Expand Down

0 comments on commit b0ea92a

Please sign in to comment.