mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-20 02:00:05 -08:00
rename apidocs into api (#4844)
this is to follow standard Golang project layout
This commit is contained in:
parent
69d37cc6c6
commit
1f3014aeac
8 changed files with 8 additions and 8 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue