fix(api): add a newline to openapi.json
Some checks are pending
Staging Build / build-push (aarch64, linux/aarch64, ubuntu-24.04-arm) (push) Waiting to run
Staging Build / build-push (amd64, linux/amd64, ubuntu-24.04) (push) Waiting to run
Staging Build / merge-manifest (push) Blocked by required conditions

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 @@ class OpenApi extends Command
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";
}

View file

@ -11300,4 +11300,4 @@
"description": "Teams"
}
]
}
}