Skip to content
FeedbackDashboard

Generate config suggestions

$ stl projects:configs guess
POST/v0/projects/{project}/configs/guess
Generate suggestions for changes to config files based on an OpenAPI spec.
ParametersExpand Collapse
--project: optional string

Path param

--spec: string

Body param: OpenAPI spec

--branch: optional string

Body param: Branch name

ReturnsExpand Collapse
ProjectConfigGuessResponse: map[object { content } ]

Config files contents

content: string

The file content

Generate config suggestions

stl projects:configs guess \
  --project project \
  --spec spec
{
  "foo": {
    "content": "content"
  }
}
Returns Examples
{
  "foo": {
    "content": "content"
  }
}