@@ -33,6 +33,26 @@ public class TopicConfigurationObject : IAsyncApiElement
3333 /// The max.message.bytes configuration option.
3434 /// </summary>
3535 public int ? MaxMessageBytes { get ; set ; }
36+
37+ /// <summary>
38+ /// The confluent.key.schema.validation configuration option.
39+ /// </summary>
40+ public bool ? ConfluentKeySchemaValidation { get ; set ; }
41+
42+ /// <summary>
43+ /// The confluent.key.subject.name.strategy configuration option.
44+ /// </summary>
45+ public string ConfluentKeySubjectName { get ; set ; }
46+
47+ /// <summary>
48+ /// The confluent.value.schema.validation configuration option.
49+ /// </summary>
50+ public bool ? ConfluentValueSchemaValidation { get ; set ; }
51+
52+ /// <summary>
53+ /// The confluent.value.subject.name.strategy configuration option.
54+ /// </summary>
55+ public string ConfluentValueSubjectName { get ; set ; }
3656
3757 public void Serialize ( IAsyncApiWriter writer )
3858 {
@@ -47,6 +67,10 @@ public void Serialize(IAsyncApiWriter writer)
4767 writer . WriteOptionalProperty < int > ( AsyncApiConstants . RetentionBytes , this . RetentionBytes ) ;
4868 writer . WriteOptionalProperty < int > ( AsyncApiConstants . DeleteRetentionMiliseconds , this . DeleteRetentionMiliseconds ) ;
4969 writer . WriteOptionalProperty < int > ( AsyncApiConstants . MaxMessageBytes , this . MaxMessageBytes ) ;
70+ writer . WriteOptionalProperty < bool > ( AsyncApiConstants . ConfluentKeySchemaValidation , this . ConfluentKeySchemaValidation ) ;
71+ writer . WriteOptionalProperty ( AsyncApiConstants . ConfluentKeySubjectName , this . ConfluentKeySubjectName ) ;
72+ writer . WriteOptionalProperty < bool > ( AsyncApiConstants . ConfluentValueSchemaValidation , this . ConfluentValueSchemaValidation ) ;
73+ writer . WriteOptionalProperty ( AsyncApiConstants . ConfluentValueSubjectName , this . ConfluentValueSubjectName ) ;
5074 writer . WriteEndObject ( ) ;
5175 }
5276 }
0 commit comments