Swagger UI fails to load anomaly.yaml, metrics.yaml and healthscore.yaml API definitions
search cancel

Swagger UI fails to load anomaly.yaml, metrics.yaml and healthscore.yaml API definitions

book

Article ID: 432487

calendar_today

Updated On:

Products

VMware Avi Load Balancer

Issue/Introduction

When accessing the Swagger UI for the metrics and health score endpoints, the following error is displayed:  

Failed to load API definition.  
undefined /swagger/metrics.yaml  

Failed to load API definition.  
undefined /swagger/healthscore.yaml  

Environment

Avi version 30.2.2 - 30.2.6

Avi version 31.1.1 - 31.1.2

Avi version 31.2.1

Cause

This is due to a known issue in the code in 30.2.x versions.

Resolution

Bug ID: AV-247012

Release Notes: Swagger UI fails to load anomaly.yaml, metrics.yaml and healthscore.yaml API definitions.

Fix Version: 31.2.2

Ref Avi Controller 31.2.2 release notes