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
`password` | Password for the server to generate code for. This can also be provided as an environment variable (see below) | No | passw0rd
79
79
`package` | Java package name for generated code | No | com.ibm.mq.samples.jms
80
80
`mqTopicPrefix` | MQ topic prefix. Used for ibmmq protocols. Default will work with dev MQ instance | No | dev//
81
+
`asyncapiFileDir` | Custom output location of the AsyncAPI file that you provided as an input | No | The root of the output directory
82
+
81
83
82
84
## Environment variables
83
85
@@ -94,7 +96,7 @@ All credentials are stored in `env.json` in the output directory, so they can be
94
96
95
97
The most straightforward command to use this template is:
96
98
```sh
97
-
ag https://ibm.biz/mq-asyncapi-yml-sample https://ibm.biz/asyncapi-java-template -o output -p server=production
99
+
ag https://ibm.biz/mq-asyncapi-yml-sample @asyncapi/java-template -o output -p server=production
98
100
```
99
101
100
102
For local development, you need different variations of this command. First of all, you need to know about three important CLI flags:
@@ -107,13 +109,13 @@ There are two ways you can work on template development:
107
109
- Use global Generator and template from your local sources:
108
110
```sh
109
111
# assumption is that you run this command from the root of your template
110
-
ag https://ibm.biz/mq-asyncapi-yml-sample https://ibm.biz/asyncapi-java-template -o output -p server=production
112
+
ag https://ibm.biz/mq-asyncapi-yml-sample @asyncapi/java-template -o output -p server=production
111
113
```
112
114
- Use Generator from sources and template also from local sources. This approach enables more debugging options with awesome `console.log` in the Generator sources or even the Parser located in `node_modules` of the Generator:
113
115
```sh
114
116
# assumption is that you run this command from the root of your template
115
117
# assumption is that generator sources are cloned on the same level as the template
0 commit comments