Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}

- name: Cache go modules
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }}
restore-keys: ${{ runner.os }}-go-${{ hashFiles('go.sum') }}

- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Get and verify dependencies
run: go mod download && go mod verify
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v6
with:
version: latest
only-new-issues: true
Expand Down
2 changes: 2 additions & 0 deletions endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ type CreateEndpointRequest struct {
Description string `json:"description,omitempty"`
AdvancedSignatures *bool `json:"advanced_signatures"`
IsDisabled bool `json:"is_disabled"`
ContentType string `json:"content_type,omitempty"`

Authentication *EndpointAuth `json:"authentication"`

Expand All @@ -48,6 +49,7 @@ type EndpointResponse struct {
SlackWebhookUrl string `json:"slack_webhook_url"`
SupportEmail string `json:"support_email"`
IsDisabled bool `json:"is_disabled"`
ContentType string `json:"content_type"`

HttpTimeout string `json:"http_timeout"`
RateLimit int `json:"rate_limit"`
Expand Down
Loading