File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 26
26
27
27
# if you've executed sbt assembly previously it will use that instead.
28
28
export JAVA_OPTS=" ${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
29
- ags=" generate -t modules/swagger-codegen/src/main/resources/kotlin-client - i modules/swagger-codegen/src/test/resources/2_0/petstore.yaml -l kotlin --artifact-id kotlin-petstore-client -o samples/client/petstore/kotlin $@ "
29
+ ags=" generate -i modules/swagger-codegen/src/test/resources/2_0/petstore.yaml -l kotlin-client --artifact-id kotlin-petstore-client -o samples/client/petstore/kotlin $@ "
30
30
31
- # java ${JAVA_OPTS} -jar ${executable} ${ags}
31
+ java ${JAVA_OPTS} -jar ${executable} ${ags}
Original file line number Diff line number Diff line change @@ -5,6 +5,6 @@ If Not Exist %executable% (
5
5
)
6
6
7
7
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M -DloggerPath=conf/log4j.properties
8
- set ags = generate --artifact-id " kotlin-petstore-client" -i modules\swagger-codegen\src\test\resources\2_0\petstore.yaml -l kotlin -o samples\client\petstore\kotlin
8
+ set ags = generate --artifact-id " kotlin-petstore-client" -i modules\swagger-codegen\src\test\resources\2_0\petstore.yaml -l kotlin-client -o samples\client\petstore\kotlin
9
9
10
- REM java %JAVA_OPTS% -jar %executable% %ags%
10
+ java %JAVA_OPTS% -jar %executable% %ags%
Original file line number Diff line number Diff line change 18
18
import java .util .HashSet ;
19
19
import java .util .Map ;
20
20
21
+ /**
22
+ * new version of this class can be found on: https://github.com/swagger-api/swagger-codegen-generators
23
+ * @deprecated use <code>io.swagger.codegen.languages.kotlin.KotlinClientCodegen</code> instead.
24
+ */
25
+ @ Deprecated
21
26
public class KotlinClientCodegen extends DefaultCodegen implements CodegenConfig {
22
27
static Logger LOGGER = LoggerFactory .getLogger (KotlinClientCodegen .class );
23
28
You can’t perform that action at this time.
0 commit comments