Skip to content

Commit

Permalink
Merge pull request #261 from forta-network/caner/forta-1236-add-sourc…
Browse files Browse the repository at this point in the history
…es-and-labels-to-the-webhook-spec

Add sources and labels to webhook spec
  • Loading branch information
canercidam authored Sep 21, 2023
2 parents 3816edd + 1f06728 commit ab336d0
Show file tree
Hide file tree
Showing 12 changed files with 1,126 additions and 4 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,12 @@ This contains key golang libraries for Forta services.
## Bug Bounty

We have a [bug bounty program on Immunefi](https://immunefi.com/bounty/forta). Please report any security issues you find through the Immunefi dashboard, or reach out to [[email protected]](mailto:[email protected])

## Webhook

To extend the client models with new fields, please do not modify generated code directly and instead

1. update `protocol/webhook/swagger.yml`,
2. do `make swagger`

and the code will be regenerated by taking into account the latest shape of `swagger.yml`.
63 changes: 63 additions & 0 deletions clients/webhook/client/models/address_bloom_filter.go

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

154 changes: 150 additions & 4 deletions clients/webhook/client/models/alert.go

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

70 changes: 70 additions & 0 deletions clients/webhook/client/models/alert_label.go

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

Loading

0 comments on commit ab336d0

Please sign in to comment.