Skip to content

Commit

Permalink
fix add apis
Browse files Browse the repository at this point in the history
  • Loading branch information
xxl4 committed Jan 1, 2025
1 parent 25562f3 commit c6bc627
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/Console/Commands/Create.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Create extends CommandInterface
'src/Config',
'src/Config/menu.php',
'src/Config/acl.php',
// 'src/Config/l5-swagger.php',
'src/Config/l5-swagger.php',
'src/Database',
'src/Database/Migrations',
'src/Database/Seeds',
Expand Down Expand Up @@ -151,13 +151,7 @@ public function handle()
exec('composer dump-autoload');
$this->info("App $name ".trans('Apps::message.create.success'));

if($this->confirm(trans('Apps::message.create.api_docs'))) {
$this->apiSupport = true;
}

if ($this->apiSupport) {
$this->createApiDocs();
}
$this->createApiDocs(); // create api docs

}

Expand Down

0 comments on commit c6bc627

Please sign in to comment.