@@ -249,7 +249,7 @@ Response<SchemaVersions> getVersionsNextSync(
249249 @ ServiceMethod (returns = ReturnType .SINGLE )
250250 public Mono <ResponseBase <SchemasGetByIdHeaders , Flux <ByteBuffer >>> getByIdWithResponseAsync (String id ) {
251251 final String accept =
252- "application/json; serialization=Avro, application/json; serialization=json, text/plain; charset=utf-8" ;
252+ "application/json; serialization=Avro, application/json; serialization=json, text/plain; charset=utf-8, text/vnd.ms.protobuf " ;
253253 return FluxUtil .withContext (
254254 context ->
255255 service .getById (this .client .getEndpoint (), id , this .client .getApiVersion (), accept , context ));
@@ -273,7 +273,7 @@ public Mono<ResponseBase<SchemasGetByIdHeaders, Flux<ByteBuffer>>> getByIdWithRe
273273 public Mono <ResponseBase <SchemasGetByIdHeaders , Flux <ByteBuffer >>> getByIdWithResponseAsync (
274274 String id , Context context ) {
275275 final String accept =
276- "application/json; serialization=Avro, application/json; serialization=json, text/plain; charset=utf-8" ;
276+ "application/json; serialization=Avro, application/json; serialization=json, text/plain; charset=utf-8, text/vnd.ms.protobuf " ;
277277 return service .getById (this .client .getEndpoint (), id , this .client .getApiVersion (), accept , context );
278278 }
279279
@@ -328,7 +328,7 @@ public Mono<Flux<ByteBuffer>> getByIdAsync(String id, Context context) {
328328 @ ServiceMethod (returns = ReturnType .SINGLE )
329329 public ResponseBase <SchemasGetByIdHeaders , BinaryData > getByIdWithResponse (String id , Context context ) {
330330 final String accept =
331- "application/json; serialization=Avro, application/json; serialization=json, text/plain; charset=utf-8" ;
331+ "application/json; serialization=Avro, application/json; serialization=json, text/plain; charset=utf-8, text/vnd.ms.protobuf " ;
332332 return service .getByIdSync (this .client .getEndpoint (), id , this .client .getApiVersion (), accept , context );
333333 }
334334
@@ -581,7 +581,7 @@ public PagedIterable<Integer> getVersions(String groupName, String schemaName, C
581581 public Mono <ResponseBase <SchemasGetSchemaVersionHeaders , Flux <ByteBuffer >>> getSchemaVersionWithResponseAsync (
582582 String groupName , String schemaName , int schemaVersion ) {
583583 final String accept =
584- "application/json; serialization=Avro, application/json; serialization=json, text/plain; charset=utf-8" ;
584+ "application/json; serialization=Avro, application/json; serialization=json, text/plain; charset=utf-8, text/vnd.ms.protobuf " ;
585585 return FluxUtil .withContext (
586586 context ->
587587 service .getSchemaVersion (
@@ -614,7 +614,7 @@ public Mono<ResponseBase<SchemasGetSchemaVersionHeaders, Flux<ByteBuffer>>> getS
614614 public Mono <ResponseBase <SchemasGetSchemaVersionHeaders , Flux <ByteBuffer >>> getSchemaVersionWithResponseAsync (
615615 String groupName , String schemaName , int schemaVersion , Context context ) {
616616 final String accept =
617- "application/json; serialization=Avro, application/json; serialization=json, text/plain; charset=utf-8" ;
617+ "application/json; serialization=Avro, application/json; serialization=json, text/plain; charset=utf-8, text/vnd.ms.protobuf " ;
618618 return service .getSchemaVersion (
619619 this .client .getEndpoint (),
620620 groupName ,
@@ -686,7 +686,7 @@ public Mono<Flux<ByteBuffer>> getSchemaVersionAsync(
686686 public ResponseBase <SchemasGetSchemaVersionHeaders , BinaryData > getSchemaVersionWithResponse (
687687 String groupName , String schemaName , int schemaVersion , Context context ) {
688688 final String accept =
689- "application/json; serialization=Avro, application/json; serialization=json, text/plain; charset=utf-8" ;
689+ "application/json; serialization=Avro, application/json; serialization=json, text/plain; charset=utf-8, text/vnd.ms.protobuf " ;
690690 return service .getSchemaVersionSync (
691691 this .client .getEndpoint (),
692692 groupName ,
0 commit comments