-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improve the handling of Avro schemas (#155)
* fix: improve the handling of Avro schemas * Minor refactoring. * Fixed linter problem. * fix: improve the handling of Avro schemas * Minor refactoring. * Fixed linter problem. * Avro schemas are now named based on their name and namespace. * Removed file that wasn't supposed to be checked in. * fix: improve the handling of Avro schemas * Minor refactoring. * Fixed linter problem. * Avro schemas are now named based on their name and namespace. * Removed file that wasn't supposed to be checked in. * Fixed linter problems. * Add a technical requirements section to the README to note the required generator version. * feat: add a comment to methods listing which message types they use. (#163) Co-authored-by: Michael Davis <[email protected]> * chore(release): v0.11.0 * Updated package.json with the minimum version of generator. * fix: improve the handling of Avro schemas * Minor refactoring. * Fixed linter problem. * Avro schemas are now named based on their name and namespace. * Add a technical requirements section to the README to note the required generator version. * Updated package.json with the minimum version of generator. Co-authored-by: Michael Davis <[email protected]> Co-authored-by: asyncapi-bot <[email protected]>
- Loading branch information
1 parent
830a803
commit e1338fc
Showing
8 changed files
with
269 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
asyncapi: '2.0.0' | ||
info: | ||
title: Avro Test | ||
version: '1.0.0' | ||
description: Tests Avro schema generation | ||
channels: | ||
userUpdates: | ||
publish: | ||
bindings: | ||
kafka: | ||
groupId: my-group | ||
message: | ||
schemaFormat: 'application/vnd.apache.avro;version=1.9.0' | ||
payload: | ||
name: User | ||
namespace: userpublisher | ||
type: record | ||
doc: User information | ||
fields: | ||
- name: displayName | ||
type: string | ||
- name: email | ||
type: string | ||
- name: age | ||
type: int | ||
subscribe: | ||
message: | ||
schemaFormat: 'application/vnd.apache.avro;version=1.9.0' | ||
payload: | ||
name: User | ||
type: record | ||
doc: User information | ||
fields: | ||
- name: displayName | ||
type: string | ||
- name: email | ||
type: string | ||
- name: age | ||
type: int |