Skip to content

Commit

Permalink
PMM-12646 Exclude inventory API from public spec (#2644)
Browse files Browse the repository at this point in the history
* PMM-12646 Exclude inventory API from public API spec

* PMM-12646 Trigger CI
  • Loading branch information
artemgavrilov authored Nov 24, 2023
1 parent 64fcdc3 commit 0e85f91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12,691 deletions.
3 changes: 1 addition & 2 deletions Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,12 @@ gen-api: ## Generate PMM API
--additional-initialism=ha ; \
done

# generate public API spec, omit agentlocal (always private),
# generate public API spec, omit agentlocal and inventory (always private),
# as well as a number of protos that are in beta (not v1 yet, they all go to a similar call below)
bin/swagger mixin --output=api/swagger/swagger.json \
api/swagger/header.json \
api/server/v1/json/v1.json \
api/user/v1/json/v1.json \
api/inventory/v1/json/v1.json \
api/management/v1/json/v1.json \
api/management/v1/backup/json/backup.json \
api/management/v1/alerting/json/alerting.json
Expand Down
Loading

0 comments on commit 0e85f91

Please sign in to comment.