Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sample avpr file
{
"namespace":"org.sample",
"protocol":"AccountService",
"types":[
{
"name":"Account",
"fields":[
{
"name":"id",
"type":"long"
},
{
"name":"name",
"type":"string"
},
{
"name":"description",
"type":[
"null",
"string"
],
"default":null
}
],
"type":"record"
}
],
"messages":{
"addAccount":{
"response":"Account",
"request":[
{
"name":"name",
"type":"string"
},
{
"name":"description",
"type":[
"null",
"string"
]
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment