Skip to content

Commit

Permalink
QA fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
koencaerels committed Jul 11, 2024
1 parent 8c30c4f commit cc117ff
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class CreateApiDocumentation extends Command
// Constructor
// ——————————————————————————————————————————————————————————————————————————

public function __construct(/*private ApiDocGenerator $apiDocGenerator*/)
public function __construct(/* private ApiDocGenerator $apiDocGenerator */)
{
parent::__construct('openapi:gen');
}
Expand All @@ -26,13 +26,13 @@ public function __construct(/*private ApiDocGenerator $apiDocGenerator*/)

protected function execute(InputInterface $input, OutputInterface $output): int
{
// $output->writeln('Start generating OpenAPI documentation');
// $documentation = $this->apiDocGenerator->generate();
// $json = json_encode($documentation, \JSON_PRETTY_PRINT);
// $jsonPath = './frontends/member_module/src/api/client/schema.json';
// file_put_contents($jsonPath, $json);
// $output->writeln('Done generating OpenAPI documentation');
//
// return Command::SUCCESS;
// $output->writeln('Start generating OpenAPI documentation');
// $documentation = $this->apiDocGenerator->generate();
// $json = json_encode($documentation, \JSON_PRETTY_PRINT);
// $jsonPath = './frontends/member_module/src/api/client/schema.json';
// file_put_contents($jsonPath, $json);
// $output->writeln('Done generating OpenAPI documentation');

return Command::SUCCESS;
}
}

0 comments on commit cc117ff

Please sign in to comment.