smi-spec icon indicating copy to clipboard operation
smi-spec copied to clipboard

Add OpenAPI definition for traffic metrics

Open adleong opened this issue 4 years ago • 0 comments

This addresses #132 for the traffic-metrics API.

We define an OpenAPI 3.0.0 specification for the traffic metrics API. This formalizes the description of the API given in traffic-metrics.md.

I tested this specification by creating a fork of the smi-metrics controller and added kin-openapi to validate the requests and responses against the given specification. Modulo some version differences (smi-metrics is still on version v1alpha1) the validations passed.

Signed-off-by: Alex Leong [email protected]

adleong avatar Mar 25 '20 23:03 adleong