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)
18
19
-[Our Development Process](#our-development-process)
19
20
-[Pull Requests](#pull-requests)
20
21
-[Conventional commits](#conventional-commits)
@@ -133,3 +134,4 @@ Pull requests should have a title that follows the specification, otherwise, mer
133
134
What about MAJOR release? just add `!` to the prefix, like `fix!: ` or `refactor!: `
134
135
135
136
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).
Copy file name to clipboardExpand all lines: schemas/configuration-schema-0.json
+45-4Lines changed: 45 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -9,20 +9,24 @@
9
9
"type": "object",
10
10
"properties": {
11
11
"$schema": {
12
-
"type": "string"
12
+
"type": "string",
13
+
"description": "For JSON and YAML configuration files this is used to force the IDE to enable auto completion and validation features"
13
14
},
14
15
"inputType": {
15
16
"type": "string",
16
-
"const": "asyncapi"
17
+
"const": "asyncapi",
18
+
"description": "The type of document "
17
19
},
18
20
"inputPath": {
19
-
"type": "string"
21
+
"type": "string",
22
+
"description": "The path to the input document "
20
23
},
21
24
"language": {
22
25
"type": "string",
23
26
"enum": [
24
27
"typescript"
25
-
]
28
+
],
29
+
"description": "Set the global language for all generators, either one needs to be set"
26
30
},
27
31
"generators": {
28
32
"type": "array",
@@ -177,6 +181,43 @@
177
181
"description": "In case you have multiple TypeScript payload generators, you can specify which one to use as the dependency for this channels generator.",
178
182
"default": "payloads-typescript"
179
183
},
184
+
"asyncapiReverseOperations": {
185
+
"type": "boolean",
186
+
"default": false,
187
+
"description": "Setting this to true generate operations with reversed meaning. So for AsyncAPI this means if an operation is defined as action: \"send\", it gets the opposite view of \"receive\"."
188
+
},
189
+
"asyncapiGenerateForOperations": {
190
+
"type": "boolean",
191
+
"default": true,
192
+
"description": "Setting this to false means we dont enforce the operations defined in the AsyncAPI document and generate more generic channels."
193
+
},
194
+
"functionTypeMapping": {
195
+
"type": "object",
196
+
"additionalProperties": {
197
+
"anyOf": [
198
+
{
199
+
"not": {}
200
+
},
201
+
{
202
+
"type": "array",
203
+
"items": {
204
+
"type": "string",
205
+
"enum": [
206
+
"nats_jetstream_publish",
207
+
"nats_jetstream_pull_subscribe",
208
+
"nats_jetstream_push_subscribe",
209
+
"nats_subscribe",
210
+
"nats_publish",
211
+
"nats_request",
212
+
"nats_reply"
213
+
]
214
+
}
215
+
}
216
+
]
217
+
},
218
+
"default": {},
219
+
"description": "Used in conjunction with AsyncAPI input, can define channel ID along side the type of functions that should be rendered."
0 commit comments