Skip to content

Commit

Permalink
Write openapi.yml file to parent static dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
BusterNeece committed Oct 11, 2023
1 parent 74d2275 commit 9f9bd0a
Show file tree
Hide file tree
Showing 2 changed files with 5,181 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Command/GenerateApiDocsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$io = new SymfonyStyle($input, $output);

$yaml = $this->generate()?->toYaml();
$yamlPath = $this->environment->getBaseDirectory() . '/web/static/api/openapi.yml';
$yamlPath = $this->environment->getBaseDirectory() . '/web/static/openapi.yml';

file_put_contents($yamlPath, $yaml);

Expand Down
Loading

0 comments on commit 9f9bd0a

Please sign in to comment.