Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example use asyncapi #8

Open
blaggacao opened this issue Nov 11, 2020 · 1 comment
Open

Example use asyncapi #8

blaggacao opened this issue Nov 11, 2020 · 1 comment

Comments

@blaggacao
Copy link
Contributor

blaggacao commented Nov 11, 2020

The closing PR of asyncapi/spec#113 implemented:

channels:
  user/created:
    subscribe:
      headers:
        application/x-protobuf:
          $ref: 'path/to/user-created.proto#Headers'
      payload:
        application/x-protobuf:
          $ref: 'path/to/user-created.proto#UserCreated'

As two valuable learning units (and productivity candys), it would be nice to:

See also:
https://github.com/asyncapi/generator/blob/master/docs/authoring.md
https://github.com/asyncapi/generator/blob/master/docs/templates-recipes.md

@blaggacao
Copy link
Contributor Author

There is a WIP go template, but that wouldn't probably fit your preferred design choices.

https://github.com/asyncapi/go-template/pull/1/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant