## 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.

### Parameters

- `project: string`

- `spec: string`

  OpenAPI spec

- `branch?:optional string`

  Branch name

### Returns

- `array<string,ConfigGuessResponseItem>`

  - `string content`

    The file content

### Example

```php
<?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);
```

#### Response

```json
{
  "foo": {
    "content": "content"
  }
}
```
