Skip to content

Commit de10f94

Browse files
committed
chore: prepare release v0.6.8 (pom.xml version update)
1 parent 5fa6c9c commit de10f94

File tree

11 files changed

+19
-28
lines changed

11 files changed

+19
-28
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,10 @@ This project may not be the right fit if:
306306

307307
## 📂 References & Links
308308

309-
- 📘 [Medium Article — Type-Safe Generic API Responses](https://medium.com/@baris.sayli/type-safe-generic-api-responses-with-spring-boot-3-4-openapi-generator-and-custom-templates-ccd93405fb04)
309+
-
310+
311+
📘 [Medium Article — Type-Safe Generic API Responses](https://medium.com/@baris.sayli/type-safe-generic-api-responses-with-spring-boot-3-4-openapi-generator-and-custom-templates-ccd93405fb04)
312+
310313
- 🌐 [GitHub Pages (Adoption Guides)](https://bsayli.github.io/spring-boot-openapi-generics-clients/)
311314

312315
---

customer-service-client/.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ target/
4646

4747
# IDE specific files and folders
4848
.idea/
49-
.project
50-
.classpath
51-
.settings/
49+
*.iml
5250

5351
# Maven specific files and folders
5452
**/target/

customer-service-client/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ public class CustomerApiClientConfig {
241241
```properties
242242
customer.api.base-url=http://localhost:8084/customer-service
243243
```
244+
244245
**Usage example:**
245246

246247
```java

customer-service-client/customer-service-client.iml

Lines changed: 0 additions & 6 deletions
This file was deleted.

customer-service-client/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>io.github.bsayli</groupId>
88
<artifactId>customer-service-client</artifactId>
9-
<version>0.6.7</version>
9+
<version>0.6.8</version>
1010
<name>customer-service-client</name>
1111
<description>Generated client (RestClient) using generics-aware OpenAPI templates</description>
1212
<packaging>jar</packaging>

customer-service-client/src/main/resources/customer-api-docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.1.0
22
info:
33
title: Customer Service API
44
description: Customer Service API with type-safe generic responses using OpenAPI
5-
version: 0.6.7
5+
version: 0.6.8
66
servers:
77
- url: http://localhost:8084/customer-service
88
description: Local service URL

customer-service/.gitignore

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ target/
4646

4747
# IDE specific files and folders
4848
.idea/
49-
.project
50-
.classpath
51-
.settings/
49+
*.iml
5250

5351
# Maven specific files and folders
5452
**/target/
@@ -64,7 +62,6 @@ buildNumber.properties
6462

6563

6664
# Generated source folders (common choices)
67-
target/
6865
generated-sources/
6966
generated-classes/
70-
/HELP.md
67+
/HELP.md

customer-service/README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@ against.
4040
* **customer-service** exposes an **enhanced OpenAPI contract** at `/v3/api-docs.yaml` (and Swagger UI).
4141
It auto-registers generic wrappers (`ServiceResponse<T>`) using `OpenApiCustomizer` and `ResponseTypeIntrospector`,
4242
enriching the spec with vendor extensions:
43-
- `x-api-wrapper: true`
44-
- `x-api-wrapper-datatype: <T>`
43+
- `x-api-wrapper: true`
44+
- `x-api-wrapper-datatype: <T>`
4545

46-
* **customer-service-client** runs the OpenAPI Generator against this enhanced contract, applying generics-aware Mustache templates to generate **thin wrapper classes** instead of duplicating full models.
46+
* **customer-service-client** runs the OpenAPI Generator against this enhanced contract, applying generics-aware
47+
Mustache templates to generate **thin wrapper classes** instead of duplicating full models.
4748

4849
---
4950

@@ -163,7 +164,8 @@ http://localhost:8084/customer-service/v1/customers
163164
* OpenAPI JSON → `http://localhost:8084/customer-service/v3/api-docs`
164165
* OpenAPI YAML → `http://localhost:8084/customer-service/v3/api-docs.yaml`
165166

166-
➡️ The YAML/JSON spec above is the **contract** that the client module (`customer-service-client`) consumes when generating code.<br/>
167+
➡️ The YAML/JSON spec above is the **contract** that the client module (`customer-service-client`) consumes when
168+
generating code.<br/>
167169
For clarity, in this repository it is saved under the client module as `src/main/resources/customer-api-docs.yaml`.
168170
---
169171

@@ -183,6 +185,7 @@ ServiceResponseCustomerDto:
183185
x-api-wrapper: true
184186
x-api-wrapper-datatype: CustomerDto
185187
```
188+
186189
➡️ These `x-api-wrapper` fields are added automatically by the
187190
`OpenApiCustomizer` and `ResponseTypeIntrospector` so that the client
188191
generator knows which classes should become **thin wrappers** extending the

customer-service/customer-service.iml

Lines changed: 0 additions & 6 deletions
This file was deleted.

customer-service/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<groupId>io.github.bsayli</groupId>
1515
<artifactId>customer-service</artifactId>
16-
<version>0.6.7</version>
16+
<version>0.6.8</version>
1717
<name>customer-service</name>
1818
<description>Spring Boot 3.4 + Springdoc (OpenAPI) for generics-aware client generation</description>
1919

0 commit comments

Comments
 (0)