.specs/architecture/api.yaml. specpilot validate doesn’t require it. Setup writes it unless your API answer is None.
What it holds
An OpenAPI 3.0 file for a REST API, withinfo, servers and paths, or the GraphQL or CLI equivalent. SpecPilot’s own fields are x-project, x-version and x-lastUpdated, in OpenAPI’s extension form.
What setup writes
A placeholder/example path and a [TODO] description.
What validate checks
- The file must parse. Errors give the line.
- An OpenAPI file needs
info.title,info.versionandpaths. - Each
{name}in a path needs a matching path parameter. - A root key that is neither OpenAPI nor
x-is a warning, whichspecpilot validate --fixrenames.