Skip to content

Commit

Permalink
🔖 Prepare for release v2.2.0
Browse files Browse the repository at this point in the history
Prepared project for release v2.2.0
  • Loading branch information
vsouhrada committed May 5, 2020
1 parent c0c8153 commit 5ed82b1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Change Log
==========

## 2.1.3 (TBD)
## 2.2.0 (2020-05-05)

### Added:
- Option to represent Array as ArrayList.
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# OpenApi 3 Codegen / Swagger

[ ![Download](https://api.bintray.com/packages/emanprague/maven/cz.eman.swagger.codegen/images/download.svg?version=2.1.1) ](https://bintray.com/emanprague/maven/cz.eman.swagger.codegen/2.1.1/link)
[ ![Download](https://api.bintray.com/packages/emanprague/maven/cz.eman.swagger.codegen/images/download.svg?version=2.2.0) ](https://bintray.com/emanprague/maven/cz.eman.swagger.codegen/2.2.0/link)

The Swagger codegen contains a template-driven engine to generate documentation, code for Java, Kotlin and Android such like Retrofit and Room. It is a fork of the https://github.com/OpenAPITools/openapi-generator with modifications

Expand All @@ -17,7 +17,7 @@ buildscript {

// Kotlin Gradle DSL
dependencies {
classpath("cz.eman.swagger:swagger-codegen:2.1.1")
classpath("cz.eman.swagger:swagger-codegen:2.2.0")
}
}
```
Expand Down Expand Up @@ -56,6 +56,7 @@ configure<SwaggerCodeGenConfig> {
"removeMinusTextInHeaderProperty" to true,
"ignoreEndpointStartingSlash" to true,
"generatePrimitiveTypeAlias" to false,
"arrayAsArrayList" to false,
"apiPackage" to "cz.mypackage.service",
"modelPackage" to "cz.mypackage.model"
"removeOperationParams" to arrayOf("X-Access-Token", "Accept-Language", ...)
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ private object Versions {

const val retrofit = "2.6.0"
const val moshi = "1.9.2"
const val swaggerCodeGen = "2.1.1"
const val swaggerCodeGen = "2.2.0"
}

/* ============================= BUILD-PLUGINS ======================= */
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
org.gradle.jvmargs=-Xmx1536m

version=2.1.3
version=2.2.0

0 comments on commit 5ed82b1

Please sign in to comment.