mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-18 00:05:12 +01:00
1b127b16c5
1. Add 7 API python test scripts for tag immutability; 2. Swagger file has object struct defination issue on imuutability policy rule, because this policy is in shared with retention rule, therefore, they should be unified to the same type of rule; 3. Fixed a timeout issue of action keyword, waiting for a long period; 4. Add API test scripts for scan signed image. Signed-off-by: danfengliu <danfengl@vmware.com> |
||
---|---|---|
.. | ||
legacy_swagger.yaml | ||
README.md | ||
swagger.yaml |
References
This file lists all the files that are referring the swagger yaml file.
- Makefile
java -jar swagger-codegen-cli.jar generate -i api/harbor/swagger.yaml -l python -o harborclient
- README
Harbor RESTful API
inAPI
section
- docs/configure_swagger.md
https://raw.githubusercontent.com/goharbor/harbor/master/api/harbor/swagger.yaml
- make/photon/portal/Dockerfile
COPY ./api/harbor/swagger.yaml /build_dir
- tests/swaggerchecker.sh
HARBOR_SWAGGER_FILE="https://raw.githubusercontent.com/$TRAVIS_REPO_SLUG/$TRAVIS_COMMIT/api/harbor/swagger.yaml"
- else
HARBOR_SWAGGER_FILE="https://raw.githubusercontent.com/$TRAVIS_PULL_REQUEST_SLUG/$TRAVIS_PULL_REQUEST_SHA/api/harbor/swagger.yaml"
Notes: Base path is the code repository root dir.