Skip to content

Commit

Permalink
fix model generation target; re-run swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
mmetc committed Mar 6, 2024
1 parent c271d41 commit 300da5d
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 1 deletion.
5 changes: 5 additions & 0 deletions pkg/models/add_alerts_request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions pkg/models/alert.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/models/generate.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package models

//go:generate go run -mod=mod github.com/go-swagger/go-swagger/cmd/[email protected] generate model --spec ./localapi_swagger.yaml
//go:generate go run -mod=mod github.com/go-swagger/go-swagger/cmd/[email protected] generate model --spec=./localapi_swagger.yaml --target=../

5 changes: 5 additions & 0 deletions pkg/models/get_alerts_response.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions pkg/models/get_decisions_response.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions pkg/models/meta.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions pkg/models/metrics.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 300da5d

Please sign in to comment.