Problem#
GET /v1/openapi/reactor returns 400 spec_requires_selector: "Provider 'reactor' is model-grained (145 endpoints), there is no combined OpenAPI document. Pass ?model={rawId}". GET /v1/openapi/reactor?activity=video returns the same error, although GET /v1/schemas/reactor lists 145 endpoints under video.
Fal is also model-grained, but GET /v1/openapi/fal?activity={activity} returns one document per activity, with per-model input_/output_ schemas and x-modelschemas-model. Reactor has no equivalent.
Ask#
- Serve
GET /v1/openapi/reactor?activity=video the same way as Fal: one document for the activity, with per-model input_/output_ schemas that carry x-modelschemas-model.
- Optionally, serve
GET /v1/openapi/reactor as the union of its activity documents, so a generator can use one call for every provider.
Acceptance#
GET /v1/openapi/reactor?activity=video returns 200, with one input_/output_ pair per id in /v1/schemas/reactor.
TanStack AI generates its provider HTTP clients from GET /v1/openapi/{provider} with Kubb and type-checks each request body against the result (TanStack/ai#2104, TanStack/ai#2105). @tanstack/ai-reactor gets no generated types until this works.