Skip to content

#864 batch 11: type the 17 operations still publishing an empty {} success schema #1213

Done

Description

@athvin

Part of #864. After batches 1–10 (#1190 #1201 #1202 #1205 #1207 #1208 #1209 #1210 #1211 #1212), 80 of 119 operations publish a $ref success schema, 21 publish an envelope-level shape (pages, observed object keys), and 1 is the Arrow stream. 17 still publish an unconstrained {}, which fails #864's done-criterion ("every 200 response carries a real schema or an explicitly recorded envelope shape"):

GET  /v1/audit
POST /v1/email
GET  /v1/internal/attempts/{attempt_id}
POST /v1/internal/attempts/{attempt_id}/heartbeat
POST /v1/internal/attempts/{attempt_id}/start
GET  /v1/orgs/{org}/audit
GET  /v1/orgs/{org}/connections
GET  /v1/orgs/{org}/datasets/{ds}/blocking-estimate
GET  /v1/orgs/{org}/datasets/{ds}/imports/recent
GET  /v1/orgs/{org}/datasets/{ds}/match-preview
POST /v1/orgs/{org}/datasets/{ds}/models/compile
POST /v1/orgs/{org}/datasets/{ds}/models/versions
GET  /v1/orgs/{org}/datasets/{ds}/models/{name}/versions/{version}
GET  /v1/orgs/{org}/datasets/{ds}/models/{name}/versions/{version}/evaluation
GET  /v1/orgs/{org}/datasets/{ds}/profile
POST /v1/orgs/{org}/datasets/{ds}/resolve
PATCH /v1/orgs/{org}/resources

resolve, models/*, profile and match-preview are on the documented customer workflow, so they come first. The other 21 envelope-level operations are recorded shapes and meet the criterion as written, but are candidates too. Same method as the earlier batches; the api-contract skill carries the rules (constructor forms, a turbofish over a variable now classifies as Scalar, read-layer items spelled out). Measured with jq over frontend/src/lib/api/openapi.json on the #1212 branch.

Metadata

Metadata

Assignees

Labels

docs-backlog

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions