Skip to main content

API Domain Authoring designed

GPUaaS is moving from a broad v1 surface toward domain-owned API routes. The portal should teach the rule, while the OpenAPI fragments and manifest remain the contract source of truth.

Operating Model

AreaDirection
v1 routesFrozen for demo/internal continuity; avoid adding new product surface
Domain routesDurable home for production routes and v3 ownership
Authoring manifestMaps OpenAPI fragments to owning domains
cmd/apiWires dependencies and starts as handler shell; business logic moves into packages
ContractsOpenAPI changes first, code follows

Route Flow

Reader Rules

  • Do not treat /api/v1 as the long-term public product contract while migration work is active.
  • Prefer domain route files for durable production routes.
  • Keep /api/v1/v3/* read models isolated until their target domain route is clear.
  • Keep BFF wiring in cmd/api; move domain behavior into owned packages over time.
  • Add or change API fields in contracts before implementation.