@asyncapi/cli 1.4.0 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -159,16 +159,10 @@ class Models extends base_1.default {
159
159
  presets.push(modelina_1.JAVA_DESCRIPTION_PRESET);
160
160
  }
161
161
  if (javaJackson) {
162
- presets.push({
163
- preset: modelina_1.JAVA_COMMON_PRESET,
164
- options
165
- }, modelina_1.JAVA_JACKSON_PRESET);
162
+ presets.push(modelina_1.JAVA_JACKSON_PRESET);
166
163
  }
167
164
  if (javaConstraints) {
168
- presets.push({
169
- preset: modelina_1.JAVA_COMMON_PRESET,
170
- options
171
- }, modelina_1.JAVA_CONSTRAINTS_PRESET);
165
+ presets.push(modelina_1.JAVA_CONSTRAINTS_PRESET);
172
166
  }
173
167
  fileGenerator = new modelina_1.JavaFileGenerator({ presets });
174
168
  fileOptions = {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.4.0",
2
+ "version": "1.4.2",
3
3
  "commands": {
4
4
  "bundle": {
5
5
  "id": "bundle",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@asyncapi/cli",
3
3
  "description": "All in one CLI for all AsyncAPI tools",
4
- "version": "1.4.0",
4
+ "version": "1.4.2",
5
5
  "author": "@asyncapi",
6
6
  "bin": {
7
7
  "asyncapi": "./bin/run"
@@ -17,7 +17,7 @@
17
17
  "@asyncapi/openapi-schema-parser": "^3.0.10",
18
18
  "@asyncapi/optimizer": "^0.2.7",
19
19
  "@asyncapi/parser": "^3.0.2",
20
- "@asyncapi/protobuf-schema-parser": "^3.0.6",
20
+ "@asyncapi/protobuf-schema-parser": "^3.1.0",
21
21
  "@asyncapi/raml-dt-schema-parser": "^4.0.10",
22
22
  "@asyncapi/studio": "^0.20.0",
23
23
  "@oclif/core": "^1.26.2",