You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Summary of the contribution flow](#summary-of-the-contribution-flow)
18
-
-[Code of Conduct](#code-of-conduct)
19
18
-[Our Development Process](#our-development-process)
20
19
-[Pull Requests](#pull-requests)
21
20
-[Conventional commits](#conventional-commits)
22
-
-[License](#license)
23
21
24
22
<!-- tocstop -->
25
23
@@ -110,7 +108,7 @@ The following is a summary of the ideal contribution flow. Please, note that Pul
110
108
```
111
109
112
110
## Code of Conduct
113
-
AsyncAPI has adopted a Code of Conduct that we expect project participants to adhere to. Please [read the full text](../CODE_OF_CONDUCT.md) so that you can understand what sort of behaviour is expected.
111
+
We have adopted a Code of Conduct that we expect project participants to adhere to. Please [read the full text](../CODE_OF_CONDUCT.md) so that you can understand what sort of behaviour is expected.
114
112
115
113
## Our Development Process
116
114
We use Github to host code, to track issues and feature requests, as well as accept pull requests.
@@ -135,14 +133,3 @@ Pull requests should have a title that follows the specification, otherwise, mer
135
133
What about MAJOR release? just add `!` to the prefix, like `fix!: ` or `refactor!: `
136
134
137
135
Prefix that follows specification is not enough though. Remember that the title must be clear and descriptive with usage of [imperative mood](https://chris.beams.io/posts/git-commit/#imperative).
138
-
139
-
## License
140
-
When you submit changes, your submissions are understood to be under the same [Apache 2.0 License](../LICENSE) that covers the project.
Copy file name to clipboardExpand all lines: docs/generators/channels.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,15 @@ It supports the following languages; [`typescript`](#typescript)
28
28
29
29
It supports the following protocols; [`nats`](../protocols/nats.md)
30
30
31
+
## Options
32
+
These are the available options for the `channels` generator;
33
+
34
+
|**Option**| Default | Type | Description |
35
+
|---|---|---|
36
+
| asyncapiReverseOperations |`false`| Boolean | Used in conjunction with AsyncAPI input, and reverses the operation actions i.e. send becomes receive and receive becomes send. Often used in testing scenarios to act as the reverse API. |
37
+
| asyncapiGenerateForOperations |`true`| Boolean | Used in conjunction with AsyncAPI input, which if `true` generate the functions upholding how operations are defined. If `false` the functions are generated regardless of what operations define. I.e. `send` and `receive` does not matter. |
38
+
| functionTypeMapping | {} | Record\<string, [ChannelFunctionTypes](https://the-codegen-project.org/docs/api/enumerations/ChannelFunctionTypes.md)[]\>| Used in conjunction with AsyncAPI input, can define channel ID along side the type of functions that should be rendered. |
39
+
31
40
## TypeScript
32
41
33
42
Depending on which protocol, these are the dependencies:
0 commit comments