API (OpenAPI Contracts)
Status: Implemented
Source: src/Api/
Owner: API Contracts Guild
Purpose
API contains OpenAPI 3.1 specifications for all StellaOps services and governance rules for API consistency. This is a specifications repository, not a code module.
Components
OpenAPI Specs:
StellaOps.Api.OpenApi/- Per-service OpenAPI 3.1 YAML specificationsauthority/openapi.yamlscanner/openapi.yamlscheduler/openapi.yamlpolicy/openapi.yamlgraph/openapi.yamlexport-center/openapi.yamlorchestrator/openapi.yaml
Shared Components:
_shared/schemas/- Common schema definitions_shared/parameters/- Shared parameters (paging, tenant)_shared/responses/- Standard response definitions
Aggregate Spec:
stella.yaml- Composed aggregate specification
Governance:
StellaOps.Api.Governance/- API governance rules and standards
Usage
# Compose aggregate spec
node src/Api/StellaOps.Api.OpenApi/compose.mjs
# Lint OpenAPI specs
npm run api:lint
Related Documentation
- Developer Portal:
../devportal/(consumes these specs) - Gateway:
../gateway/(routes based on these contracts) - Platform:
../platform/architecture-overview.md