Skip to content

Commit 614d444

Browse files
authored
Remove deleted models (#1334)
Cleanup old models when generating.
1 parent d6eebfb commit 614d444

File tree

9 files changed

+9
-394
lines changed

9 files changed

+9
-394
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.PHONY: all
22
all: .generator .env
3+
@rm -rf api/*
34
@pre-commit run --all-files --hook-stage=manual openapi-generator || true
45
@pre-commit run --all-files --hook-stage=manual docs || echo "modified files"
56
@pre-commit run --all-files --hook-stage=manual lint || echo "modified files"

api/v1/datadog/.openapi-generator-ignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,3 @@
2121
#docs/*.md
2222
# Then explicitly reverse the ignore rule for a single file:
2323
#!docs/README.md
24-
25-
go.sum
26-
go.mod
27-
api/openapi.yaml

api/v1/datadog/.openapi-generator/FILES

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
.gitignore
2+
.openapi-generator-ignore
23
.travis.yml
34
README.md
5+
api/openapi.yaml
46
api_authentication.go
57
api_aws_integration.go
68
api_aws_logs_integration.go
@@ -745,6 +747,8 @@ docs/WidgetVerticalAlign.md
745747
docs/WidgetViewMode.md
746748
docs/WidgetVizType.md
747749
git_push.sh
750+
go.mod
751+
go.sum
748752
model_access_role.go
749753
model_alert_graph_widget_definition.go
750754
model_alert_graph_widget_definition_type.go

api/v1/datadog/docs/SyntheticsErrorCode.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

api/v1/datadog/model_synthetics_error_code.go

Lines changed: 0 additions & 114 deletions
This file was deleted.

api/v2/datadog/.openapi-generator-ignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,3 @@
2121
#docs/*.md
2222
# Then explicitly reverse the ignore rule for a single file:
2323
#!docs/README.md
24-
25-
go.sum
26-
go.mod
27-
api/openapi.yaml

api/v2/datadog/.openapi-generator/FILES

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
.gitignore
2+
.openapi-generator-ignore
23
.travis.yml
34
README.md
5+
api/openapi.yaml
46
api_auth_n_mappings.go
57
api_cloud_workload_security.go
68
api_dashboard_lists.go
@@ -415,6 +417,8 @@ docs/UsersApi.md
415417
docs/UsersResponse.md
416418
docs/UsersType.md
417419
git_push.sh
420+
go.mod
421+
go.sum
418422
model_api_error_response.go
419423
model_api_key_create_attributes.go
420424
model_api_key_create_data.go

api/v2/datadog/docs/SecurityMonitoringRuntimeAgentRule.md

Lines changed: 0 additions & 79 deletions
This file was deleted.

0 commit comments

Comments
 (0)