harbor/api/v2.0
Wenkai Yin 5d13b603c4 Set "x-omitempty" as "false" for the pull count and artifact count of repository
Set "x-omitempty" as "false" for the pull count and artifact count of repository to avoid the missing of these properties in API response

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2021-06-09 11:17:23 +08:00
..
legacy_swagger.yaml Remove unused items in legacy_swagger.yaml (#14785) 2021-05-06 10:55:33 +08:00
README.md Bump up the version of legacy APIs to v2.0 2020-02-14 13:16:30 +08:00
swagger.yaml Set "x-omitempty" as "false" for the pull count and artifact count of repository 2021-06-09 11:17:23 +08:00

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 in API 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.