@@ -188,11 +188,11 @@ func mapSubjectSchema(in sr.SubjectSchema, isSoftDeleted bool) SchemaRegistryVer
188188 }
189189
190190 var metadata * SchemaMetadata
191- if in .Schema . SchemaMetadata != nil {
191+ if in .SchemaMetadata != nil {
192192 metadata = & SchemaMetadata {
193- Tags : in .Schema . SchemaMetadata .Tags ,
194- Properties : in .Schema . SchemaMetadata .Properties ,
195- Sensitive : in .Schema . SchemaMetadata .Sensitive ,
193+ Tags : in .SchemaMetadata .Tags ,
194+ Properties : in .SchemaMetadata .Properties ,
195+ Sensitive : in .SchemaMetadata .Sensitive ,
196196 }
197197 }
198198
@@ -406,13 +406,13 @@ func (s *Service) getSubjectCompatibilityLevel(ctx context.Context, srClient *rp
406406
407407// SchemaRegistryVersionedSchema describes a retrieved schema.
408408type SchemaRegistryVersionedSchema struct {
409- ID int `json:"id"`
410- Version int `json:"version"`
411- IsSoftDeleted bool `json:"isSoftDeleted"`
412- Type sr.SchemaType `json:"type"`
413- Schema string `json:"schema"`
414- References []Reference `json:"references"`
415- Metadata * SchemaMetadata `json:"metadata,omitempty"`
409+ ID int `json:"id"`
410+ Version int `json:"version"`
411+ IsSoftDeleted bool `json:"isSoftDeleted"`
412+ Type sr.SchemaType `json:"type"`
413+ Schema string `json:"schema"`
414+ References []Reference `json:"references"`
415+ Metadata * SchemaMetadata `json:"metadata,omitempty"`
416416}
417417
418418// Reference describes a reference to a different schema stored in the schema registry.
0 commit comments