Metrics (network status) API

Automatically generating OpenAPI specification from the code