Skip to content

Commit

Permalink
chore: Remove Swagger spec from the generated HTTP client
Browse files Browse the repository at this point in the history
There is no use for it in the client and it's not easy
to audit it in the contributed PRs.
  • Loading branch information
efirs committed Apr 22, 2023
1 parent e3d11ae commit 1fc4b09
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 388 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ${GEN_DIR}/%.pb.go ${GEN_DIR}/%.pb.gw.go: ${PROTO_DIR}/%.proto
${API_DIR}/client/${V}/api/http.go: ${PROTO_DIR}/openapi.yaml scripts/fix_openapi.sh
mkdir -p ${API_DIR}/client/${V}/api
/bin/bash scripts/fix_openapi.sh ${PROTO_DIR}/openapi.yaml /tmp/openapi.yaml
oapi-codegen --old-config-style -package api -generate "client, types, spec" \
oapi-codegen --old-config-style -package api -generate "client, types" \
-o ${API_DIR}/client/${V}/api/http.go \
/tmp/openapi.yaml

Expand Down
Loading

0 comments on commit 1fc4b09

Please sign in to comment.