rename apidocs into api (#4844)

this is to follow standard Golang project layout
This commit is contained in:
Alessandro Ros 2025-08-09 16:05:34 +02:00 committed by GitHub
parent 69d37cc6c6
commit 1f3014aeac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 8 additions and 8 deletions

View file

@ -6,5 +6,5 @@ export DOCKERFILE_APIDOCS_GEN
apidocs:
echo "$$DOCKERFILE_APIDOCS_GEN" | docker build . -f - -t temp
docker run --rm -v "$(shell pwd)/apidocs:/s" -w /s temp \
docker run --rm -v "$(shell pwd)/api:/s" -w /s temp \
sh -c "redoc-cli bundle openapi.yaml"

View file

@ -15,7 +15,7 @@ lint-mod-tidy:
lint-apidocs:
echo "$$DOCKERFILE_APIDOCS_LINT" | docker build . -f - -t temp
docker run --rm -v "$(shell pwd)/apidocs:/s" -w /s temp \
docker run --rm -v "$(shell pwd)/api:/s" -w /s temp \
sh -c "openapi lint openapi.yaml"
lint: lint-golangci lint-mod-tidy lint-apidocs