File tree Expand file tree Collapse file tree 7 files changed +13
-9
lines changed
src/codegen/inputs/asyncapi/generators Expand file tree Collapse file tree 7 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -86,5 +86,6 @@ Get an overview of how to contribute to the project
8686
8787
8888
89+
8990
9091
Original file line number Diff line number Diff line change @@ -170,5 +170,6 @@ Prefix that follows specification is not enough though. Remember that the title
170170
171171
172172
173+
173174
174175
Original file line number Diff line number Diff line change @@ -71,3 +71,4 @@ const subscriber = await jetStreamPullSubscribeToReceiveUserSignedup({
7171
7272
7373
74+
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ $ npm install -g @the-codegen-project/cli
99$ codegen COMMAND
1010running command...
1111$ codegen (--version)
12- @the-codegen-project/cli/0.55.0 linux-x64 node-v18.20.8
12+ @the-codegen-project/cli/0.55.1 linux-x64 node-v18.20.8
1313$ codegen --help [COMMAND]
1414USAGE
1515 $ codegen COMMAND
@@ -84,7 +84,7 @@ DESCRIPTION
8484 Generate code based on your configuration, use `init` to get started.
8585```
8686
87- _ See code: [ src/commands/generate.ts] ( https://github.com/the-codegen-project/cli/blob/v0.55.0 /src/commands/generate.ts ) _
87+ _ See code: [ src/commands/generate.ts] ( https://github.com/the-codegen-project/cli/blob/v0.55.1 /src/commands/generate.ts ) _
8888
8989## ` codegen help [COMMAND] `
9090
@@ -142,7 +142,7 @@ DESCRIPTION
142142 Initialize The Codegen Project in your project
143143```
144144
145- _ See code: [ src/commands/init.ts] ( https://github.com/the-codegen-project/cli/blob/v0.55.0 /src/commands/init.ts ) _
145+ _ See code: [ src/commands/init.ts] ( https://github.com/the-codegen-project/cli/blob/v0.55.1 /src/commands/init.ts ) _
146146
147147## ` codegen version `
148148
Original file line number Diff line number Diff line change 11{
22 "name" : " @the-codegen-project/cli" ,
33 "description" : " CLI to work with code generation in any environment" ,
4- "version" : " 0.55.0 " ,
4+ "version" : " 0.55.1 " ,
55 "bin" : {
66 "codegen" : " ./bin/run.mjs"
77 },
Original file line number Diff line number Diff line change @@ -81,7 +81,9 @@ export function unwrap(channelParameters: ConstrainedObjectModel) {
8181 ) ;
8282
8383 const parameterInitializer = Object . values ( channelParameters . properties )
84- . filter ( parameter => parameter . property . options . const ?. value === undefined )
84+ . filter (
85+ ( parameter ) => parameter . property . options . const ?. value === undefined
86+ )
8587 . map ( ( parameter ) => {
8688 if ( parameter . property . options . isNullable ) {
8789 return `${ parameter . propertyName } : null` ;
@@ -94,8 +96,7 @@ export function unwrap(channelParameters: ConstrainedObjectModel) {
9496 return `${ parameter . propertyName } : ${ property . ref . values [ 0 ] . value } ` ;
9597 }
9698 return `${ parameter . propertyName } : ''` ;
97- }
98- ) ;
99+ } ) ;
99100
100101 return `const parameters = new ${ channelParameters . name } ({${ parameterInitializer . join ( ', ' ) } });
101102const match = msgSubject.match(regex);
You can’t perform that action at this time.
0 commit comments