mirror of
https://github.com/goharbor/harbor
synced 2024-09-20 23:59:56 +00:00
107e468b60
Changes include: 1. Move core/config to controller/config 2. Change the job_service and gcreadonly to depends on lib/config instead of core/config 3. Move the config related dao, manager and driver to pkg/config 4. Adjust the invocation of the config API, most of then should provide a context parameter, when accessing system config, you can call it with background context, when accessing user config, the context should provide orm.Context Signed-off-by: stonezdj <stonezdj@gmail.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.