fix(api): add a newline to openapi.json

This commit is contained in:
peaklabs-dev 2026-02-16 00:04:05 +01:00
parent 5d54bc1c96
commit 25ccde83fa
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

@ -32,7 +32,8 @@ public function handle()
echo $process->output();
$yaml = file_get_contents('openapi.yaml');
$json = json_encode(Yaml::parse($yaml), JSON_PRETTY_PRINT);
$json = json_encode(Yaml::parse($yaml), JSON_PRETTY_PRINT)."\n";
file_put_contents('openapi.json', $json);
echo "Converted OpenAPI YAML to JSON.\n";
}