You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+8-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,13 @@
1
1
Change Log
2
2
==========
3
3
4
+
## 2.0.0 (2020-03-09)
5
+
- Introduced a new config parameter `ignoreEndpointStartingSlash` to ignore endpoint's starting slash in generated
6
+
Retrofit API service class. See `IgnoreStartingSlashLambda` for more details.
7
+
- Introduced a new lambda `IgnoreStartingSlashLambda` (`{{#lambda.ignoreStartingSlash}}{{paramName}}{{/lambda.ignoreStartingSlash}}`)
8
+
which removes word *minus* in a fragment if it's in it.
9
+
- For rest of changes see all `2.0.0-xx` changelog messages.
10
+
4
11
## 2.0.0-rc03 (2020-02-18)
5
12
6
13
### Fixed
@@ -26,7 +33,7 @@ Change Log
26
33
## 2.0.0-alpha02 (2019-01-21)
27
34
28
35
### Added
29
-
- Introduced a new labda`RemoveMinusTextFromNameLambda` (`{{#lambda.removeMinusText}}{{paramName}}{{/lambda.removeMinusText}}`) which removes word *minus* in a fragment if it's in it.
36
+
- Introduced a new lambda`RemoveMinusTextFromNameLambda` (`{{#lambda.removeMinusText}}{{paramName}}{{/lambda.removeMinusText}}`) which removes word *minus* in a fragment if it's in it.
30
37
- New property to remove `minus` word from the header's property name: `additionalProperties["removeMinusTextInHeaderProperty"] = true`. By default `false` will be used.
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
fun {{operationId}}({{^allParams}}){{/allParams}}{{#allParams}}{{>libraries/jvm-retrofit2/queryParams}}{{>libraries/jvm-retrofit2/pathParams}}{{>libraries/jvm-retrofit2/headerParams}}{{>libraries/jvm-retrofit2/bodyParams}}{{>libraries/jvm-retrofit2/formParams}}{{#hasMore}}, {{/hasMore}}{{^hasMore}}){{/hasMore}}{{/allParams}}: Call<{{#isResponseFile}}ResponseBody{{/isResponseFile}}{{^isResponseFile}}{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Unit{{/returnType}}{{/isResponseFile}}>
0 commit comments