File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
test/codegen/generators/typescript Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -130,21 +130,21 @@ describe('channels', () => {
130130 } ) ;
131131 it ( 'should work with operation extension' , async ( ) => {
132132 const parsedAsyncAPIDocument = await loadAsyncapiFromMemory ( JSON . stringify ( {
133- " asyncapi" : "2.6.0" ,
134- " info" : {
135- " title" : "Account Service" ,
136- " version" : "1.0.0" ,
137- " description" : "This service is in charge of processing user signups"
133+ asyncapi : "2.6.0" ,
134+ info : {
135+ title : "Account Service" ,
136+ version : "1.0.0" ,
137+ description : "This service is in charge of processing user signups"
138138 } ,
139- " channels" : {
139+ channels : {
140140 "user/signedup" : {
141- " publish" : {
142- " message" : {
143- " payload" : { }
141+ publish : {
142+ message : {
143+ payload : { }
144144 }
145145 } ,
146146 "x-the-codegen-project" : {
147- " functionTypeMapping" : [ "nats_jetstream_publish" ]
147+ functionTypeMapping : [ "nats_jetstream_publish" ]
148148 }
149149 }
150150 }
You can’t perform that action at this time.
0 commit comments