Skip to content

Commit

Permalink
Update default file template
Browse files Browse the repository at this point in the history
  • Loading branch information
abelgomez committed Sep 16, 2019
1 parent dd0f1e6 commit 2c347cf
Showing 1 changed file with 21 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,27 @@ final class HelloWorldProject {
builderIds += #[JavaCore.BUILDER_ID, XtextProjectHelper.BUILDER_ID]
folders += "src"
addFile('''src/«path»/Model.asyncapi''', '''
/*
* This is an example model
*/
Hello «name»!
{
"asyncapi": "1.2.0",
"info": {
"title": "Sample AsyncAPI specification",
"version": "0.1.0"
},
"servers": [
{
"url": "broker.url:{port}",
"scheme": "mqtt"
}
],
"topics": {
},
"components": {
"schemas" : {
},
"messages" : {
}
}
}
''')
])
}
Expand Down

0 comments on commit 2c347cf

Please sign in to comment.