Skip to content

Commit 98319e0

Browse files
authored
chore: update API docs styling and fix protobuf build (#90)
Update endpoint summaries to Title Case for consistent styling and fix Makefile to dynamically detect protobuf version on macOS ARM64
1 parent dd7e71f commit 98319e0

File tree

7 files changed

+221
-297
lines changed

7 files changed

+221
-297
lines changed

v2/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# Constants
22
PROTO_DIR := $(shell pwd)/api/archive-query-service/v2
33

4-
# Apple arm64 specific
5-
OPT_ARGS := $(shell [ "$$(uname -s)" = "Darwin" ] && [ "$$(uname -m)" = "arm64" ] && echo "--proto_path=/opt/homebrew/Cellar/protobuf/33.1/include")
4+
# Apple arm64 specific - dynamically detect protobuf version
5+
PROTOBUF_VERSION := $(shell ls /opt/homebrew/Cellar/protobuf/ 2>/dev/null | head -1)
6+
OPT_ARGS := $(shell [ "$$(uname -s)" = "Darwin" ] && [ "$$(uname -m)" = "arm64" ] && [ -n "$(PROTOBUF_VERSION)" ] && echo "--proto_path=/opt/homebrew/Cellar/protobuf/$(PROTOBUF_VERSION)/include")
67

78
# Tasks
89
.PHONY: all mock-gen proto-gen proto-clean swagger-gen test-cover

v2/api/archive-query-service/v2/messages.pb.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

v2/api/archive-query-service/v2/query_services.pb.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)