harbor/api/harbor
Steven Zou 7bf9372f32 chore[api]:rename API folder to api
- update swagger yaml file reference in `Makefile`
- update swagger yaml file reference in `README`
- update swagger yaml file reference in `docs/configure_swagger.md`
- update swagger yaml file reference in `make/photon/portal/Dockerfile`
- update swagger yaml file reference in `tests/swaggerchecker.sh`

Signed-off-by: Steven Zou <szou@vmware.com>
2019-12-11 17:41:27 +08:00
..
README chore[api]:rename API folder to api 2019-12-11 17:41:27 +08:00
swagger.yaml doc[api spec]:rename folder name to 2019-12-09 18:48:10 +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.