Skip to content

Commit

Permalink
fix(core): serve new scripts with correct paths
Browse files Browse the repository at this point in the history
  • Loading branch information
ayuhito committed Sep 2, 2024
1 parent f64da1a commit a24e815
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 211 deletions.
9 changes: 1 addition & 8 deletions core/.ogen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,5 @@ generator:
enable:
- "paths/server"
- "webhooks/server"
- "server/response/validation"
disable:
- "paths/client"
- "webhooks/client"
- "client/request/validation"
- "ogen/otel"
- "ogen/unimplemented"
- "debug/example_tests"
disable_all: true
convenient_errors: false
160 changes: 0 additions & 160 deletions core/api/oas_response_encoders_gen.go

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

2 changes: 1 addition & 1 deletion core/db/duckdb/event_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ func TestUpdatePageView(t *testing.T) {
DurationMs: 100,
}

err = client.UpdatePageView(ctx, event2, nil)
err = client.UpdatePageView(ctx, event2)
assert.NoError(err)
}
2 changes: 1 addition & 1 deletion core/db/duckdb/helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ func generateFilterAll(hostname string) []TestCase {
return filters
}

func getBaseTestCases(_hostname string) []TestCase {
func getBaseTestCases(_ string) []TestCase {
hostname := MediumHostname // For now we only have one hostname.
tc := []TestCase{
{
Expand Down
5 changes: 4 additions & 1 deletion core/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1510,7 +1510,10 @@ components:
type: array
items:
type: string
enum: [default, click-events, page-events]
enum:
- default
- click-events
- page-events
uniqueItems: true
UserGet:
type: object
Expand Down
Loading

0 comments on commit a24e815

Please sign in to comment.