Generate config suggestions
$client->projects->configs->guess(string project, string spec, ?string branch): ConfigGuessResponse
POST/v0/projects/{project}/configs/guess
Generate suggestions for changes to config files based on an OpenAPI spec.Generate config suggestions
<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
$client = new Client(apiKey: 'My API Key', environment: 'staging');
$response = $client->projects->configs->guess(
project: 'project', spec: 'spec', branch: 'branch'
);
var_dump($response);{
"foo": {
"content": "content"
}
}Returns Examples
{
"foo": {
"content": "content"
}
}