| Field |
Value |
| Service |
srvcs-intersection |
| Slug |
intersection |
| Repository |
srvcs/intersection |
| Package |
srvcs-intersection |
| Kind |
leaf |
sets: intersection of two sets
None.
| Method |
Path |
Purpose |
GET |
/ |
Service identity |
POST |
/ |
Evaluate the service function |
GET |
/healthz |
Liveness probe |
GET |
/readyz |
Readiness probe |
GET |
/metrics |
Prometheus metrics |
GET |
/openapi.json |
OpenAPI document |
| Name |
Type |
Required |
a |
json[] |
yes |
b |
json[] |
yes |
| Name |
Type |
a |
json[] |
b |
json[] |
result |
integer[] |
| Variable |
Default |
Purpose |
SRVCS_BIND_ADDR |
0.0.0.0:8080 |
Bind address |
SRVCS_ENV |
development |
Environment label for logs |
RUST_LOG |
info,tower_http=info |
Tracing filter |
422 means the request could not be evaluated for the documented input shape.
503 means a required dependency was unavailable or returned an unexpected response.
- Dependency validation errors are forwarded when this service delegates validation.
cargo fmt --check
cargo clippy --all-targets -- -D warnings
cargo test
See the srvcs service standard for the full operational contract.
Machine-readable service metadata lives in srvcs.yaml. Keep it aligned with this README when the service contract changes.