Skip to content

Commit

Permalink
Merge pull request #31 from grafana/add-serviceName-property-to-sessi…
Browse files Browse the repository at this point in the history
…on.overrides

chore: add fix serviceName property to session.overrides
  • Loading branch information
codecapitano authored Jan 23, 2025
2 parents bcecdf3 + e116ad4 commit cd96b6c
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 9 deletions.
9 changes: 8 additions & 1 deletion pkg/go/faro.gen.go

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

10 changes: 10 additions & 0 deletions spec/components/schemas/overrides.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
components:
schemas:
Overrides:
type: object
description: represents session override metadata.
properties:
serviceName:
type: string
x-go-type-skip-optional-pointer: true
x-go-type-skip-optional-pointer: true
5 changes: 1 addition & 4 deletions spec/components/schemas/session.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,5 @@ components:
type: string
x-go-type-skip-optional-pointer: true
overrides:
type: object
additionalProperties:
type: string
x-go-type-skip-optional-pointer: true
$ref: '#/components/schemas/Overrides'
x-go-type-skip-optional-pointer: true
13 changes: 9 additions & 4 deletions spec/gen/faro.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,7 @@ components:
type: string
x-go-type-skip-optional-pointer: true
overrides:
type: object
additionalProperties:
type: string
x-go-type-skip-optional-pointer: true
$ref: '#/components/schemas/Overrides'
x-go-type-skip-optional-pointer: true
Stacktrace:
type: object
Expand Down Expand Up @@ -213,6 +210,14 @@ components:
format: double
x-go-type-skip-optional-pointer: true
x-go-type-skip-optional-pointer: true
Overrides:
type: object
description: represents session override metadata.
properties:
serviceName:
type: string
x-go-type-skip-optional-pointer: true
x-go-type-skip-optional-pointer: true
View:
type: object
description: holds metadata about a view.
Expand Down

0 comments on commit cd96b6c

Please sign in to comment.