Skip to content

Commit 43dbd10

Browse files
Version 1.1.3
1 parent 47bdbc2 commit 43dbd10

6 files changed

Lines changed: 25 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [unreleased]
99

10+
## [1.1.3] - 2025-05-06
11+
12+
### Changed
13+
- Updated spring boot version to `3.4.5`
14+
1015
## [1.1.2] - 2025-03-24
1116

1217
### Changed
@@ -123,7 +128,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
123128
### Added
124129
- Initial functional version of Apigen
125130

126-
[unreleased]: https://github.com/apiaddicts/apigen/releases/tag/1.1.2...HEAD
131+
[unreleased]: https://github.com/apiaddicts/apigen/releases/tag/1.1.3...HEAD
132+
[1.1.3]: https://github.com/apiaddicts/apigen/releases/tag/1.1.3
127133
[1.1.2]: https://github.com/apiaddicts/apigen/releases/tag/1.1.2
128134
[1.1.1]: https://github.com/apiaddicts/apigen/releases/tag/1.1.1
129135
[1.1.0]: https://github.com/apiaddicts/apigen/releases/tag/1.1.0

MIGRATION_GUIDE.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All changes required to migrate generated Apigen projects to new versions will be documented in this file.
44

5+
## From [1.1.2] to [1.1.3]
6+
7+
No migration required
8+
59
## From [1.1.1] to [1.1.2]
610

711
No migration required
@@ -102,7 +106,8 @@ In this version Apigen has been updated to be auto documented with `spring-doc`
102106
- Perform the Spring Boot migration from `2.4.x` to `2.6.x`
103107
- Remove the property `apigen.documentation.enabled`, now the documentation is managed by the `spring-doc` official properties
104108

105-
[unreleased]: https://github.com/apiaddicts/apigen/releases/tag/1.1.2...HEAD
109+
[unreleased]: https://github.com/apiaddicts/apigen/releases/tag/1.1.3...HEAD
110+
[1.1.3]: https://github.com/apiaddicts/apigen/releases/tag/1.1.3
106111
[1.1.2]: https://github.com/apiaddicts/apigen/releases/tag/1.1.2
107112
[1.1.1]: https://github.com/apiaddicts/apigen/releases/tag/1.1.1
108113
[1.1.0]: https://github.com/apiaddicts/apigen/releases/tag/1.1.0

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# 🛠️ Apigen ![Release](https://img.shields.io/badge/release-1.1.2-purple) ![Swagger](https://img.shields.io/badge/-openapi-%23Clojure?style=flat&logo=swagger&logoColor=white) ![Java](https://img.shields.io/badge/java-%23ED8B00.svg?style=flat&logo=openjdk&logoColor=white) ![Spring](https://img.shields.io/badge/spring-%236DB33F.svg?style=flat&logo=spring&logoColor=white) [![License: LGPL v3](https://img.shields.io/badge/license-LGPL_v3-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0)
2+
# 🛠️ Apigen ![Release](https://img.shields.io/badge/release-1.1.3-purple) ![Swagger](https://img.shields.io/badge/-openapi-%23Clojure?style=flat&logo=swagger&logoColor=white) ![Java](https://img.shields.io/badge/java-%23ED8B00.svg?style=flat&logo=openjdk&logoColor=white) ![Spring](https://img.shields.io/badge/spring-%236DB33F.svg?style=flat&logo=spring&logoColor=white) [![License: LGPL v3](https://img.shields.io/badge/license-LGPL_v3-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0)
33

44
Welcome to **apigen.springboot**, made in spain ![Spain](https://raw.githubusercontent.com/stevenrskelton/flag-icon/master/png/16/country-4x3/es.png "Spain"), the opensource project in Java that allows you to generate an archetype of the springboot framework using the openapi file as a mapping tool between the openapi definition and the database. Click maven to see available mvnrepository dependencies.
55

@@ -42,7 +42,7 @@ Feel free to drop by and greet us on our GitHub discussion or Discord chat. You
4242
version: "3.3"
4343
services:
4444
apigen:
45-
image: "apiaddicts/apitools-apigen:1.1.2"
45+
image: "apiaddicts/apitools-apigen:1.1.3"
4646
ports:
4747
- "8080:8080"
4848
```

archetype-parent-spring-boot/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.springframework.boot</groupId>
88
<artifactId>spring-boot-starter-parent</artifactId>
9-
<version>3.4.4</version>
9+
<version>3.4.5</version>
1010
<relativePath/>
1111
</parent>
1212

@@ -38,7 +38,7 @@
3838

3939
<properties>
4040

41-
<revision>1.1.2</revision>
41+
<revision>1.1.3</revision>
4242

4343
<java.version>21</java.version>
4444
<maven.compiler.source>21</maven.compiler.source>

generator-core/src/main/java/org/apiaddicts/apitools/apigen/generatorcore/generator/common/Openapi2JavapoetType.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ private static Class getClass(String type, String format) {
4545
return getIntegerClass(format);
4646
case TYPE_BOOLEAN:
4747
return getBooleanClass();
48+
case TYPE_OBJECT:
49+
return getObjectClass();
4850
default:
4951
throw new IllegalArgumentException("Type " + type + " with format " + format + " not supported");
5052
}
@@ -92,6 +94,10 @@ private static Class getBooleanClass() {
9294
return Boolean.class;
9395
}
9496

97+
private static Class getObjectClass() {
98+
return Object.class;
99+
}
100+
95101
private static String low(String value) {
96102
return value != null ? value.toLowerCase() : null;
97103
}

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.springframework.boot</groupId>
88
<artifactId>spring-boot-starter-parent</artifactId>
9-
<version>3.4.4</version>
9+
<version>3.4.5</version>
1010
<relativePath/> <!-- lookup parent from repository -->
1111
</parent>
1212

@@ -39,7 +39,7 @@
3939

4040
<properties>
4141

42-
<revision>1.1.2</revision>
42+
<revision>1.1.3</revision>
4343

4444
<java.version>21</java.version>
4545
<maven.compiler.source>21</maven.compiler.source>

0 commit comments

Comments
 (0)