Your application must supply
- credential verification and identity-provider integration;
- domain authorization and resource-ownership checks;
- databases, transactions, and business workflows;
- shared idempotency storage;
- control and availability evaluators when those features are used;
- audit, completion, logging, metrics, and tracing backends;
- trusted edge configuration; and
- deployment configuration and graceful shutdown.
Keep these boundaries distinct
- A caller label is trusted authority context, not an authentication scheme.
- Request parsing accepts wire input; it does not validate current database state.
- Response projection controls emitted fields; it does not authorize the resource.
- An endpoint timeout bounds in-process work; a route backend timeout describes generated gateway behavior.
- OpenAPI describes a target projection of the contract; the runtime remains the enforcement boundary.
Go reference implementation limits
The current implementation:- serves
GETandPOSTendpoint methods; - uses Go
ServeMuxroute patterns; - treats JSON as the default request media type while allowing additional declared media types;
- emits OpenAPI 3.1.1 and Google Cloud API Gateway Swagger 2.0 documents;
- aggregates caller-specific response attributes in its public OpenAPI 3.1 output without preserving per-field caller availability; and
- configures runtime adapters at process scope, so tests and multi-service binaries must install and restore them carefully.