BAEL-7445, fix the formatting for pet schema and remove redurant comment
This commit is contained in:
parent
2d762f3f83
commit
63df143479
|
@ -3,9 +3,21 @@
|
|||
"name": "Pet",
|
||||
"namespace": "custom.avro",
|
||||
"fields": [
|
||||
{ "name": "petId", "type": "string" },
|
||||
{ "name": "name", "type": "string" },
|
||||
{ "name": "species", "type": "string" },
|
||||
{ "name": "age", "type": "int" }
|
||||
{
|
||||
"name": "petId",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "name",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "species",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "age",
|
||||
"type": "int"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -39,7 +39,6 @@ public class AvroCodeGenerationUnitTest {
|
|||
.setAge(age)
|
||||
.build();
|
||||
|
||||
// Assertions to verify the values
|
||||
assertEquals(petId, pet.getPetId());
|
||||
assertEquals(name, pet.getName());
|
||||
assertEquals(species, pet.getSpecies());
|
||||
|
|
Loading…
Reference in New Issue