chore[swagger]:add swagger online validation

- validate the API swagger spec with the online validation tool
- introduce the validation badge into the README
This commit is contained in:
Steven Zou 2019-12-11 20:37:59 +08:00 committed by GitHub
parent a9bd086b2f
commit 855b8cde18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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