Skip to content

Commit

Permalink
feat(oapi): add docs prerequisite
Browse files Browse the repository at this point in the history
Signed-off-by: slonka <[email protected]>
  • Loading branch information
slonka committed Jan 28, 2025
1 parent 7f7598d commit baf297f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mk/docs.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
DOCS_PROTOS ?= api/mesh/v1alpha1/*.proto
DOCS_CP_CONFIG ?= pkg/config/app/kuma-cp/kuma-cp.defaults.yaml
DOCS_EXTRA_TARGETS ?=
DOCS_OPENAPI_PREREQUISITES ?=

.PHONY: clean/docs
clean/docs:
Expand Down Expand Up @@ -32,7 +33,7 @@ OAPI_TMP_DIR ?= $(BUILD_DIR)/oapitmp
API_DIRS="$(TOP)/api/openapi/specs:base"

.PHONY: docs/generated/openapi.yaml
docs/generated/openapi.yaml:
docs/generated/openapi.yaml: $(DOCS_OPENAPI_PREREQUISITES)
rm -rf $(OAPI_TMP_DIR)
mkdir -p $(dir $@)
mkdir -p $(OAPI_TMP_DIR)/policies
Expand Down

0 comments on commit baf297f

Please sign in to comment.