@team-supercharge/oasg 4.2.0 → 4.3.0
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.
- package/CHANGELOG.md +8 -0
- package/bin/oasg +1 -1
- package/package.json +1 -1
- package/targets/spring/publish.sh +9 -1
- package/targets/spring-kotlin/generator-config.json +10 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [4.3.0](https://gitlab.com/team-supercharge/oasg/compare/v4.2.0...v4.3.0) (2022-04-27)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **kotlin-spring:** adds common generator config ([c38998f](https://gitlab.com/team-supercharge/oasg/commit/c38998fdfc2b09d10c5b54ffdb6a3bd776c44790))
|
|
11
|
+
* **kotlin-spring:** attach sources jar if exists ([15f6fc3](https://gitlab.com/team-supercharge/oasg/commit/15f6fc3ee176185d0cf906784fb4429414a738a7))
|
|
12
|
+
|
|
5
13
|
## [4.2.0](https://gitlab.com/team-supercharge/oasg/compare/v4.1.0...v4.2.0) (2022-04-11)
|
|
6
14
|
|
|
7
15
|
|
package/bin/oasg
CHANGED
|
@@ -31,7 +31,7 @@ const DEFAULT_GENERATOR_VERSION_MAPPING = {
|
|
|
31
31
|
"react-native": '4.3.1',
|
|
32
32
|
"angular": '4.3.1',
|
|
33
33
|
"spring": '4.3.1',
|
|
34
|
-
"spring-kotlin": '4.
|
|
34
|
+
"spring-kotlin": '5.4.0',
|
|
35
35
|
"stubby": '4.3.1',
|
|
36
36
|
"feign": '4.3.1',
|
|
37
37
|
"python": '5.4.0', // python generation does not work with 4.3.1
|
package/package.json
CHANGED
|
@@ -11,6 +11,12 @@ echo Deploying ${artifactId}-${version}.jar to ${mavenRepoUrl}
|
|
|
11
11
|
|
|
12
12
|
jarName=target/${artifactId}-${version}.jar
|
|
13
13
|
|
|
14
|
+
sourcesJarName=target/${artifactId}-${version}-sources.jar
|
|
15
|
+
attachSources=""
|
|
16
|
+
if [ -f ${sourcesJarName} ]; then
|
|
17
|
+
attachSources="-Dsources=${sourcesJarName}"
|
|
18
|
+
fi
|
|
19
|
+
|
|
14
20
|
./mvnw deploy:deploy-file -e -s settings.xml \
|
|
15
21
|
-Durl=${mavenRepoUrl} \
|
|
16
22
|
-DrepositoryId=target \
|
|
@@ -18,5 +24,7 @@ jarName=target/${artifactId}-${version}.jar
|
|
|
18
24
|
-Dpom=pom.xml \
|
|
19
25
|
-DgroupId=${groupId} \
|
|
20
26
|
-DartifactId=${artifactId} \
|
|
21
|
-
-Dversion=${version}
|
|
27
|
+
-Dversion=${version} \
|
|
28
|
+
${attachSources}
|
|
29
|
+
|
|
22
30
|
cd ../..
|
|
@@ -2,5 +2,14 @@
|
|
|
2
2
|
"library": "spring-boot",
|
|
3
3
|
"gradleBuildFile": false,
|
|
4
4
|
"interfaceOnly": true,
|
|
5
|
-
"useTags": true
|
|
5
|
+
"useTags": true,
|
|
6
|
+
"enumPropertyNaming": "UPPERCASE",
|
|
7
|
+
"typeMappings": {
|
|
8
|
+
"DateTime": "java.time.Instant",
|
|
9
|
+
"OffsetDateTime": "java.time.Instant"
|
|
10
|
+
},
|
|
11
|
+
"importMappings": {
|
|
12
|
+
"DateTime": "java.time.Instant",
|
|
13
|
+
"java.time.OffsetDateTime": "java.time.Instant"
|
|
14
|
+
}
|
|
6
15
|
}
|