Skip to content

Commit 56a48c4

Browse files
author
Jim Minter
committed
correct serialisation of tsb json schemas
1 parent 9446c1b commit 56a48c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/openservicebroker/api/types.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ type Plan struct {
4242
}
4343

4444
type Schema struct {
45-
ServiceInstances ServiceInstances `json:"service-instances,omitempty"`
46-
ServiceBindings ServiceBindings `json:"service-bindings,omitempty"`
45+
ServiceInstances ServiceInstances `json:"service_instances,omitempty"`
46+
ServiceBindings ServiceBindings `json:"service_bindings,omitempty"`
4747
}
4848

4949
type ServiceInstances struct {

0 commit comments

Comments
 (0)