Skip to content

Commit ed3f00c

Browse files
Further K6 OpenAPI generator enhancements
* resolved merge conflicts * replaced deprecated dependency `org.apache.commons.lang3.StringEscapeUtils` Signed-off-by: Michael H. Siemaszko <[email protected]>
2 parents 809dadd + ff286aa commit ed3f00c

491 files changed

Lines changed: 6665 additions & 17070 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip
1+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.3/apache-maven-3.8.3-bin.zip
22
wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,10 @@ Here are some companies/projects (alphabetical order) using OpenAPI Generator in
828828
- 2021-07-29 - [How To Rewrite a Huge Codebase](https://dzone.com/articles/how-to-rewrite-a-huge-code-base) by [Curtis Poe](https://dzone.com/users/4565446/publiusovidius.html)
829829
- 2021-08-21 - [Generating Client APIs using Swagger Part 1](https://medium.com/@flowsquad/generating-client-apis-using-swagger-part-1-2d46f13f5e92) by [FlowSquad.io](https://medium.com/@flowsquad)
830830
- 2021-09-11 - [Invoking AWS ParallelCluster API](https://docs.aws.amazon.com/parallelcluster/latest/ug/api-reference-v3.html) at [AWS ParallelCluster API official documentation](https://docs.aws.amazon.com/parallelcluster/latest/ug/api-reference-v3.html)
831+
- 2021-09-20 - [OpenAPI Generator - The Babel Fish of the API World](https://www.youtube.com/watch?v=s2zMtwd5klg) by [Cliffano Subagio (Principal Engineer at Shine Solutions)](https://github.com/cliffano) at [Apidays LIVE Australia 2021](https://www.apidays.global/australia2021/)
831832
- 2021-10-02 - [How to Write Fewer Lines of Code with the OpenAPI Generator](https://hackernoon.com/how-to-write-fewer-lines-of-code-with-the-openapi-generator) by [Mikhail Alfa](https://hackernoon.com/u/alphamikle)
833+
- 2021-10-12 - [OpenAPI Generator : 4000 étoiles sur GitHub et des spaghettis](https://www.youtube.com/watch?v=9hEsNBSqTFk) by [Jérémie Bresson](https://github.com/jmini) at [Devoxx FR 2021](https://cfp.devoxx.fr/2021/speaker/jeremie_bresson)
834+
- 2021-10-17 - [Generate a TypeScript HTTP Client From An OpenAPI Spec In DotNET 5](https://richardwillis.info/blog/generate-a-type-script-http-client-from-an-open-api-spec-in-dot-net-5) by [Richard Willis](https://github.com/badsyntax)
832835

833836
## [6 - About Us](#table-of-contents)
834837

bin/configs/dart-petstore-json-serializable-client-lib-fake.yaml

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
generatorName: kotlin
2+
outputDir: samples/client/petstore/kotlin-enum-default-value
3+
inputSpec: modules/openapi-generator/src/test/resources/3_0/kotlin/issue10591-enum-defaultValue.yaml
4+
templateDir: modules/openapi-generator/src/main/resources/kotlin-client
5+
additionalProperties:
6+
artifactId: kotlin-enum-default-value
7+
serializableModel: "true"
8+
dateLibrary: java8

bin/configs/spring-cloud-no-nullable.yaml

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

bin/configs/spring-cloud.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
generatorName: spring
22
outputDir: samples/client/petstore/spring-cloud
33
library: spring-cloud
4-
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore.yaml
4+
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
55
templateDir: modules/openapi-generator/src/main/resources/JavaSpring
66
additionalProperties:
77
artifactId: petstore-spring-cloud
8-
responseWrapper: HystrixCommand
98
hideGenerationTimestamp: "true"

docs/generators/dart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
1919
|pubLibrary|Library name in generated code| |null|
2020
|pubName|Name in generated pubspec| |null|
2121
|pubVersion|Version in generated pubspec| |null|
22-
|serializationLibrary|Specify serialization library|<dl><dt>**native_serialization**</dt><dd>Use native serializer, backwards compatible</dd><dt>**json_serializable**</dt><dd>Use json_serializable. Experimental and subject to breaking changes without further notice</dd></dl>|native_serialization|
22+
|serializationLibrary|Specify serialization library|<dl><dt>**native_serialization**</dt><dd>Use native serializer, backwards compatible</dd></dl>|native_serialization|
2323
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
2424
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
2525
|sourceFolder|Source folder for generated code| |null|

docs/generators/spring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
5252
|performBeanValidation|Use Bean Validation Impl. to perform BeanValidation| |false|
5353
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
5454
|reactive|wrap responses in Mono/Flux Reactor types (spring-boot only)| |false|
55-
|responseWrapper|wrap the responses in given type (Future, Callable, CompletableFuture,ListenableFuture, DeferredResult, HystrixCommand, RxObservable, RxSingle or fully qualified type)| |null|
55+
|responseWrapper|wrap the responses in given type (Future, Callable, CompletableFuture,ListenableFuture, DeferredResult, RxObservable, RxSingle or fully qualified type)| |null|
5656
|returnSuccessCode|Generated server returns 2xx code| |false|
5757
|scmConnection|SCM connection in generated pom.xml| |scm:git:git@github.com:openapitools/openapi-generator.git|
5858
|scmDeveloperConnection|SCM developer connection in generated pom.xml| |scm:git:git@github.com:openapitools/openapi-generator.git|

modules/openapi-generator-cli/pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
<plugin>
3737
<groupId>org.apache.maven.plugins</groupId>
3838
<artifactId>maven-jar-plugin</artifactId>
39+
<version>${maven-jar-plugin.version}</version>
3940
<configuration>
4041
<archive>
4142
<manifest>
@@ -144,13 +145,13 @@
144145
<dependency>
145146
<groupId>org.testng</groupId>
146147
<artifactId>testng</artifactId>
147-
<!-- <version>${testng-version}</version> -->
148+
<version>${testng.version}</version>
148149
<scope>test</scope>
149150
</dependency>
150151
<dependency>
151152
<groupId>org.mockito</groupId>
152153
<artifactId>mockito-core</artifactId>
153-
<version>${mockito-version}</version>
154+
<version>${mockito.version}</version>
154155
<scope>test</scope>
155156
</dependency>
156157
</dependencies>

modules/openapi-generator-core/pom.xml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,17 @@
3232
<dependency>
3333
<groupId>com.google.guava</groupId>
3434
<artifactId>guava</artifactId>
35-
<version>${guava-version}</version>
35+
<version>${guava.version}</version>
3636
</dependency>
3737
<dependency>
3838
<groupId>org.slf4j</groupId>
3939
<artifactId>slf4j-api</artifactId>
40-
<version>${slf4j-version}</version>
40+
<version>${slf4j.version}</version>
4141
</dependency>
4242
<dependency>
4343
<groupId>org.testng</groupId>
4444
<artifactId>testng</artifactId>
45+
<version>${testng.version}</version>
4546
<scope>test</scope>
4647
</dependency>
4748
</dependencies>
@@ -70,9 +71,4 @@
7071
</build>
7172
</profile>
7273
</profiles>
73-
74-
<properties>
75-
<slf4j-version>1.7.29</slf4j-version>
76-
<guava-version>26.0-jre</guava-version>
77-
</properties>
7874
</project>

0 commit comments

Comments
 (0)