mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 20:07:55 +08:00
ext: use distribution spec route prefix for extension api
Following the spec defined here https://github.com/opencontainers/distribution-spec/tree/main/extensions Signed-off-by: Shivam Mishra <shimish2@cisco.com>
This commit is contained in:
committed by
Ramkumar Chinchani
parent
c1bf4456d0
commit
36c9631000
@@ -102,11 +102,11 @@ check: ./golangcilint.yaml $(GOLINTER)
|
||||
$(GOLINTER) --config ./golangcilint.yaml run --enable-all --out-format=colored-line-number --build-tags stress,extended,containers_image_openpgp ./...
|
||||
|
||||
swagger/docs.go:
|
||||
swag -v || go install github.com/swaggo/swag/cmd/swag
|
||||
swag -v || go install github.com/swaggo/swag/cmd/swag@1.6.3
|
||||
swag init -o swagger -g pkg/api/routes.go
|
||||
|
||||
.PHONY: swagger
|
||||
swagger: swagger/docs.go
|
||||
swagger: swagger/docs.go pkg/api/routes.go
|
||||
|
||||
.PHONY: update-licenses
|
||||
update-licenses:
|
||||
|
||||
Reference in New Issue
Block a user