From 855b8cde183b829f80886499fdf915e14563a676 Mon Sep 17 00:00:00 2001
From: Steven Zou <szou@vmware.com>
Date: Wed, 11 Dec 2019 20:37:59 +0800
Subject: [PATCH] chore[swagger]:add swagger online validation

- validate the API swagger spec with the online validation tool
- introduce the validation badge into the README
---
 README.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/README.md b/README.md
index 20ca01b07..83a1f5378 100644
--- a/README.md
+++ b/README.md
@@ -43,6 +43,7 @@ Harbor is hosted by the [Cloud Native Computing Foundation](https://cncf.io) (CN
 ## API
 
 * [Harbor RESTful API](https://editor.swagger.io/?url=https://raw.githubusercontent.com/goharbor/harbor/master/api/harbor/swagger.yaml): The APIs for most administrative operations of Harbor and can be used to perform integrations with Harbor programmatically.
+  - Spec validation status: <img src="http://validator.swagger.io/validator?url=https://raw.githubusercontent.com/goharbor/harbor/master/api/harbor/swagger.yaml">
 
 ## Install & Run