-
-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from asyncapi/feature/add-events-support
Add support for events in Markdown template
- Loading branch information
Showing
8 changed files
with
920 additions
and
10 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,21 @@ | ||
## <a id="events"/>Events | ||
|
||
### <a id="events-receive"/>Events a client can receive: | ||
{{#each asyncapi.events.receive as |event index|}} | ||
{{#if event.x-title}} | ||
#### {{event.x-title}} {{#if event.deprecated}} (**deprecated**){{/if}} | ||
{{else}} | ||
#### Event #{{index}} {{#if event.deprecated}} (**deprecated**){{/if}} | ||
{{/if}} | ||
{{> message message=event hideTitle=true}} | ||
{{/each}} | ||
|
||
### <a id="events-send"/>Events a client can send: | ||
{{#each asyncapi.events.send as |event index|}} | ||
{{#if event.x-title}} | ||
#### {{event.x-title}} {{#if event.deprecated}} (**deprecated**){{/if}} | ||
{{else}} | ||
#### Event #{{index}} {{#if event.deprecated}} (**deprecated**){{/if}} | ||
{{/if}} | ||
{{> message message=event hideTitle=true}} | ||
{{/each}} |
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
Oops, something went wrong.