Skip to content

Commit 85a5a06

Browse files
committed
updates documentation for main website compatibility
1 parent a8901bc commit 85a5a06

File tree

18 files changed

+96
-46
lines changed

18 files changed

+96
-46
lines changed

plugins/asyncapi-generator/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
# AsyncAPI Generator for Java / Spring-Boot
2-
> 👉 ZenWave360 Helps You Create Software Easy to Understand
32

43
[![Maven Central](https://img.shields.io/maven-central/v/io.zenwave360.sdk/zenwave-sdk.svg?label=Maven%20Central&logo=apachemaven)](https://search.maven.org/artifact/io.zenwave360.sdk/zenwave-sdk)
54
[![GitHub](https://img.shields.io/github/license/ZenWave360/zenwave-sdk)](https://github.com/ZenWave360/zenwave-sdk/blob/main/LICENSE)
65

7-
![AsyncAPI and Spring Cloud Streams 3](../../docs/ZenWave360-AsyncAPI-SpringCloudStreams.excalidraw.svg)
6+
![ZenWave AsyncAPI Generator](https://raw.githubusercontent.com/ZenWave360/zenwave-sdk/refs/heads/main/docs/ZenWave360-AsyncAPI-SpringCloudStreams.excalidraw.svg)
87

98
The ZenWave AsyncAPI Generator solves a long-standing issue in event-driven Java applications:
109

@@ -254,8 +253,8 @@ sourceSets {
254253
| `role` | Project role: provider/client | AsyncapiRoleType | provider | provider, client |
255254
| `templates` | Templates to use for code generation. | String | SpringCloudStream | SpringCloudStream, SpringKafka, FQ Class Name |
256255
| `modelPackage` | Java Models package name | String | | |
257-
| `producerApiPackage` | Java API package name for outbound (producer) services. It can override apiPackage for producers. | String | {{apiPackage}} | |
258-
| `consumerApiPackage` | Java API package name for inbound (consumer) services. It can override apiPackage for consumer. | String | {{apiPackage}} | |
256+
| `producerApiPackage` | Java API package name for outbound (producer) services. It can override apiPackage for producers. | String | `{{apiPackage}}` | |
257+
| `consumerApiPackage` | Java API package name for inbound (consumer) services. It can override apiPackage for consumer. | String | `{{apiPackage}}` | |
259258
| `apiPackage` | Java API package, if `producerApiPackage` and `consumerApiPackage` are not set. | String | | |
260259
| `operationIds` | Operation ids to include in code generation. Generates code for ALL if left empty | List | [] | |
261260
| `excludeOperationIds` | Operation ids to exclude in code generation. Skips code generation if is not included or is excluded. | List | [] | |

plugins/asyncapi-jsonschema2pojo/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# AsyncAPI and JsonSchema2Pojo (with maven plugin)
2-
> 👉 ZenWave360 Helps You Create Software Easy to Understand
32

43
[![Maven Central](https://img.shields.io/maven-central/v/io.zenwave360.sdk/zenwave-sdk.svg?label=Maven%20Central&logo=apachemaven)](https://search.maven.org/artifact/io.zenwave360.sdk/zenwave-sdk)
54
[![GitHub](https://img.shields.io/github/license/ZenWave360/zenwave-sdk)](https://github.com/ZenWave360/zenwave-sdk/blob/main/LICENSE)
@@ -43,7 +42,7 @@ jbang zw -p io.zenwave360.sdk.plugins.AsyncApiJsonSchema2PojoPlugin --help
4342
You can use ZenWave Maven Plugin to generate code as part of your build process:
4443

4544
- Adding this generator jar as dependency to zenwave maven plugin.
46-
- Passing any configuration as <configOptions>.
45+
- Passing any configuration as `<configOptions>`.
4746

4847
Use jsonschema2pojo prefix to pass any option to https://www.jsonschema2pojo.org/ underlying library.
4948

plugins/asyncapi-spring-cloud-streams3/README.md

Lines changed: 11 additions & 12 deletions
Large diffs are not rendered by default.

plugins/asyncapi-spring-cloud-streams3/src/main/java/io/zenwave360/sdk/plugins/SpringCloudStreams3Generator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public enum TransactionalOutboxType {
6666
@DocumentedOption(description = "Business/Service interface suffix")
6767
public String consumerServiceSuffix = "ConsumerService";
6868

69-
@DocumentedOption(description = "Spring-Boot binding suffix. It will be appended to the operation name kebab-cased. E.g. <operation-id>-in-0")
69+
@DocumentedOption(description = "Spring-Boot binding suffix. It will be appended to the operation name kebab-cased. E.g. `<operation-id>-in-0`")
7070
public String bindingSuffix = "-0";
7171

7272
@DocumentedOption(description = "AsyncAPI extension property name for runtime auto-configuration of headers.")

plugins/avro-schema-compiler/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Avro Schema Generator
2-
> 👉 ZenWave360 Helps You Create Software Easy to Understand
32

43
[![Maven Central](https://img.shields.io/maven-central/v/io.zenwave360.sdk/zenwave-sdk.svg?label=Maven%20Central&logo=apachemaven)](https://search.maven.org/artifact/io.zenwave360.sdk/zenwave-sdk)
54
[![GitHub](https://img.shields.io/github/license/ZenWave360/zenwave-sdk)](https://github.com/ZenWave360/zenwave-sdk/blob/main/LICENSE)
@@ -72,8 +71,8 @@ jbang zw -p io.zenwave360.sdk.plugins.AvroSchemaGeneratorPlugin \
7271
<!-- <authentication> -->
7372
<!-- <authentication><key>API_KEY</key><value>XXX</value></authentication> -->
7473
<!-- </authentication> -->
75-
<addCompileSourceRoot>true</addCompileSourceRoot>!-- default is true -->
76-
<addTestCompileSourceRoot>true</addTestCompileSourceRoot>!-- default is false -->
74+
<addCompileSourceRoot>true</addCompileSourceRoot><!-- default is true -->
75+
<addTestCompileSourceRoot>true</addTestCompileSourceRoot><!-- default is false -->
7776
</configuration>
7877

7978
<executions>

plugins/backend-application-default/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Backend Application Default Plugin
2-
> 👉 ZenWave360 Helps You Create Software Easy to Understand
32

43
Generates a full backend application using the provided 'layout' property
54

plugins/customizations/kotlin-backend-application/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Backend Application Kotlin Templates
2-
> 👉 ZenWave360 Helps You Create Software Easy to Understand
32

43
Generates a full backend application using the provided 'layout' property, but using Kotlin instead of Java.
54

plugins/java-to-asyncapi/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Java 2 AsyncAPI Reverse Engineering
2-
> 👉 ZenWave360 Helps You Create Software Easy to Understand
32

43
If you are using Spring Modulith Events and want to generate an AsyncAPI definition from your event producer class, you can use this plugin.
54

plugins/java-to-jdl/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Java 2 JDL Reverse Engineering
2-
> 👉 ZenWave360 Helps You Create Software Easy to Understand
32

43
If starting with legacy project, you can reverse engineer JDL from Java entity classes. JPA and MongoDB are supported.
54

plugins/openapi-controllers/README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# OpenAPI: REST Controllers Generator
2-
> 👉 ZenWave360 Helps You Create Software Easy to Understand
32

43
Generates implementations based on JDL models and OpenAPI definitions SpringMVC generated OpenAPI interfaces.
54

@@ -82,17 +81,17 @@ requestBody:
8281
| `operationIds` | OpenAPI operationIds to generate code for | List | [] | |
8382
| `statusCodes` | Status codes to generate code for | List | [200, 201, 202, 400] | |
8483
| `openApiApiPackage` | The package to used by OpenAPI-Generator for generated api objects/classes | String | | |
85-
| `openApiModelPackage` | The package to used by OpenAPI-Generator for generated model objects/classes | String | {{openApiApiPackage}} | |
84+
| `openApiModelPackage` | The package to used by OpenAPI-Generator for generated model objects/classes | String | `{{openApiApiPackage}}` | |
8685
| `openApiModelNamePrefix` | Sets the prefix for model enums and classes used by OpenAPI-Generator | String | | |
8786
| `openApiModelNameSuffix` | Sets the suffix for model enums and classes used by OpenAPI-Generator | String | | |
8887
| `basePackage` | Applications base package | String | | |
89-
| `controllersPackage` | The package to generate REST Controllers | String | {{basePackage}}.adapters.web | |
90-
| `entitiesPackage` | Package where your domain entities are | String | {{basePackage}}.core.domain | |
91-
| `inboundDtosPackage` | Package where your inbound dtos are | String | {{basePackage}}.core.inbound.dtos | |
92-
| `servicesPackage` | Package where your domain services/usecases interfaces are | String | {{basePackage}}.core.inbound | |
88+
| `controllersPackage` | The package to generate REST Controllers | String | `{{basePackage}}.adapters.web` | |
89+
| `entitiesPackage` | Package where your domain entities are | String | `{{basePackage}}.core.domain` | |
90+
| `inboundDtosPackage` | Package where your inbound dtos are | String | `{{basePackage}}.core.inbound.dtos` | |
91+
| `servicesPackage` | Package where your domain services/usecases interfaces are | String | `{{basePackage}}.core.inbound` | |
9392
| `inputDTOSuffix` | Should use same value configured in BackendApplicationDefaultPlugin. Whether to use an input DTO for entities used as command parameter. | String | | |
9493
| `includeControllerTests` | Include Controller Unit tests (using ServicesInMemoryConfig) | boolean | true | |
95-
| `paginatedDtoItemsJsonPath` | JSONPath list to search for response DTO schemas for list or paginated results. User '$.items' for lists or '$.properties.<content property>.items' for paginated results. | List | [$.items, $.properties.content.items] | |
94+
| `paginatedDtoItemsJsonPath` | JSONPath list to search for response DTO schemas for list or paginated results. User '$.items' for lists or '`$.properties.<content property>.items`' for paginated results. | List | [$.items, $.properties.content.items] | |
9695
| `formatter` | Code formatter implementation | Formatters | spring | google, palantir, spring, eclipse |
9796
| `skipFormatting` | Skip java sources output formatting | boolean | false | |
9897
| `haltOnFailFormatting` | Halt on formatting errors | boolean | true | |

0 commit comments

Comments
 (0)