wing328
90512e6326
Remove Apache license from API client generators ( #4197 )
...
* remove php apache license
* remove apache license from C#
* remove apache license in objc code
* remove license from swift 3 code
* remove apache license from perl code
* remove license from scala code
* remove license from ts, go, android, cpp, scala
* remove license from java api client
* restore clojure petstore files
* remove license from travis file
* clean up apache-related terms in php, ruby, python mustache tempaltes
* remove license from JS API cilent
2016-11-16 21:44:49 +08:00
wing328
907db0dd5b
[Scala] enhancement to indention and null check ( #3775 )
...
* fix scala api null check and indention
* minor format fix
2016-09-13 09:56:06 +08:00
wing328
ac69f45ddc
better format of model properties
2016-09-11 18:44:36 +08:00
Jyotsna Karan
062e6fc3ac
Added functionality to handle optional parameters for Scala ( #3683 )
...
* 1. Modified api.mushtache to handle optional paramters for scala (#3665 )
2. Updated petstore sample for scala
* Generated scala-petstore.sh (#3665 )
* 1. Updated api.mustache to handle optional thing with headers and file parameters
2. Generated petstore sample for the above changes
2016-09-01 18:11:23 +08:00
Ville Skyttä
b4c139f19b
Spelling fixes
2016-08-27 02:34:33 +03:00
Tony Tam
f82d4fa033
updated version
2016-08-05 09:09:45 +02:00
wing328
4aa9f1b5fa
add license header to scala files
2016-06-18 15:21:55 +08:00
wing328
04748484ba
remove println from scala test
2016-06-18 15:08:55 +08:00
Jim Schubert
ee630337b9
[scala] Add SBT buid support for scala client
2016-06-16 20:43:58 -04:00
clasnake
5adb80bd1b
Delete the build folder.
2016-06-06 22:22:07 +08:00
clasnake
4c9e7ae572
Add gradle support for the scala client.
2016-06-06 22:04:17 +08:00
wing328
15971eda2e
update test case for scala
2016-04-16 01:14:52 +08:00
wing328
0b42b533d9
add new files
2016-04-16 00:44:36 +08:00
wing328
79decc53a1
fix requireParameterCount in scala
2016-04-16 00:09:15 +08:00
wing328
c317f99466
fix required parameter in scala api client
2016-04-15 23:08:16 +08:00
wing328
87e542c69c
replace requiredParam with reuqired
2016-04-15 22:54:46 +08:00
wing328
44a4219e3e
fix swift mapping with int and number
2016-04-11 19:37:56 +08:00
wing328
05a8c47a36
update docstring to include default value
2016-03-17 17:43:21 +08:00
wing328
47bb5689d9
better hanlding of model name starting with number
2016-03-17 11:49:06 +08:00
wing328
b09d34e37c
fix scala test cases
2016-03-12 18:44:03 +08:00
wing328
a529d9dfe0
push new git_push and .gitinore file
2016-03-12 18:01:53 +08:00
wing328
637bdd2f50
add git_push and gitignore to most client generators
2016-03-12 17:35:25 +08:00
Tony Tam
5e80b61e3e
updated swagger-core versions
2016-02-04 18:02:19 -08:00
wing328
05efd193c0
update test username for scala
2015-11-11 16:42:00 +08:00
wing328
cbd1b98bf5
better scala test (UserApi)
2015-11-11 16:35:17 +08:00
Tony Tam
a21f08118e
rebuilt
2015-10-20 10:31:42 -07:00
xhh
c7f595fc91
Fix bug with truncated lone string responses for Android/Scala clients
2015-08-07 10:40:42 +08:00
xhh
13d350be2e
Fix warnings and upgrade jersey for Scala client
...
* Upgrade jersey to latest version (from 1.7 to 1.19)
* Replace getClientResponseStatus() with getStatusInfo()
* Fix the following maven warnings and model import warnings
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 72, column 15
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[WARNING] Expected all dependencies to require Scala version: 2.10.4
[WARNING] com.fasterxml.jackson.module:jackson-module-scala_2.10:2.4.2 requires scala version: 2.10.4
[WARNING] org.scala-lang:scala-reflect:2.10.4 requires scala version: 2.10.4
[WARNING] io.swagger:swagger-scala-client:1.0.0 requires scala version: 2.10.4
[WARNING] org.scalatest:scalatest_2.10:2.1.3 requires scala version: 2.10.3
[WARNING] Multiple versions of scala libraries detected!
[WARNING] /Users/xhh/projects/swagger-codegen/samples/client/petstore/scala/src/main/scala/io/swagger/client/model/Pet.scala:3: warning: imported `Category' is permanently hidden by definition of object Category in package model
2015-06-23 21:23:48 +08:00
fehguy
3d2f09a693
updated versions
2015-06-09 00:25:09 -07:00
Tony Tam
aaa0603e29
rebuilt, added back imports
2015-06-07 20:47:22 -07:00
Ron
1c2d0656b0
Code reformatting
2015-06-07 11:56:08 -04:00
Tony Tam
8c340d52a4
updated packages
2015-06-06 23:58:36 -07:00
Tony Tam
0c1657d744
updated package
2015-06-06 23:43:34 -07:00
Tony Tam
85c37fbe27
fix for #781
2015-05-23 09:04:40 -07:00
Tony Tam
99a11636da
rebuilt
2015-05-20 22:51:30 -07:00
Tony Tam
bc66894553
Merge pull request #688 from xhh/scala-form-params
...
Add form parameters support to Scala codegen
2015-05-14 11:50:42 -04:00
xhh
4a55223a8f
Add form parameters support to Scala codegen
2015-04-24 23:57:17 +08:00
xhh
78072f753c
Fix tests for Scala petstore sample
2015-04-23 09:38:27 +08:00
William Cheng
5465708a42
add method documentation to android and scala
2015-04-19 23:51:46 +08:00
Tony Tam
ba2ccf788c
name rebuilds, tests
2015-04-04 17:00:22 -07:00
Tony Tam
a5c92be360
updated sample
2015-03-29 19:41:37 -07:00
Tony Tam
9cfbd8bde0
updated sample
2015-03-18 09:32:18 -07:00
Tony Tam
618b4698c2
Merge branch 'develop_2.0'
...
Conflicts:
README.md
bin/Version.scala
build.sbt
modules/swagger-codegen/src/main/resources/Java/api.mustache
modules/swagger-codegen/src/main/resources/android-java/api.mustache
modules/swagger-codegen/src/main/resources/nodejs/api.mustache
modules/swagger-codegen/src/main/resources/objc/SWGApiClient.h
modules/swagger-codegen/src/main/resources/objc/SWGApiClient.m
modules/swagger-codegen/src/main/resources/objc/SWGDate.h
modules/swagger-codegen/src/main/resources/objc/SWGDate.m
modules/swagger-codegen/src/main/resources/objc/SWGFile.m
modules/swagger-codegen/src/main/resources/objc/SWGObject.h
modules/swagger-codegen/src/main/resources/objc/SWGObject.m
modules/swagger-codegen/src/main/resources/objc/api-header.mustache
modules/swagger-codegen/src/main/resources/php/api.mustache
modules/swagger-codegen/src/main/resources/python/api.mustache
modules/swagger-codegen/src/main/resources/scala/apiInvoker.mustache
modules/swagger-codegen/src/main/resources/scala/pom.mustache
project/build.properties
samples/client/petstore/android-java/src/main/java/io/swagger/client/api/PetApi.java
samples/client/petstore/android-java/src/main/java/io/swagger/client/api/StoreApi.java
samples/client/petstore/android-java/src/main/java/io/swagger/client/api/UserApi.java
samples/client/petstore/scala/pom.xml
samples/client/petstore/scala/src/test/scala/PetApiTest.scala
samples/client/petstore/scala/src/test/scala/StoreApiTest.scala
samples/client/petstore/scala/src/test/scala/UserApiTest.scala
samples/client/wordnik-apiobjc/client/SWGAccountApi.h
samples/client/wordnik-apiobjc/client/SWGAccountApi.m
samples/client/wordnik-apiobjc/client/SWGApiClient.h
samples/client/wordnik-apiobjc/client/SWGApiClient.m
samples/client/wordnik-apiobjc/client/SWGApiTokenStatus.h
samples/client/wordnik-apiobjc/client/SWGAudioFile.h
samples/client/wordnik-apiobjc/client/SWGAuthenticationToken.h
samples/client/wordnik-apiobjc/client/SWGBigram.h
samples/client/wordnik-apiobjc/client/SWGCitation.h
samples/client/wordnik-apiobjc/client/SWGCitation.m
samples/client/wordnik-apiobjc/client/SWGContentProvider.h
samples/client/wordnik-apiobjc/client/SWGContentProvider.m
samples/client/wordnik-apiobjc/client/SWGDate.h
samples/client/wordnik-apiobjc/client/SWGDate.m
samples/client/wordnik-apiobjc/client/SWGDefinition.h
samples/client/wordnik-apiobjc/client/SWGDefinition.m
samples/client/wordnik-apiobjc/client/SWGDefinitionSearchResults.h
samples/client/wordnik-apiobjc/client/SWGDefinitionSearchResults.m
samples/client/wordnik-apiobjc/client/SWGExample.h
samples/client/wordnik-apiobjc/client/SWGExample.m
samples/client/wordnik-apiobjc/client/SWGExampleSearchResults.h
samples/client/wordnik-apiobjc/client/SWGExampleSearchResults.m
samples/client/wordnik-apiobjc/client/SWGExampleUsage.h
samples/client/wordnik-apiobjc/client/SWGExampleUsage.m
samples/client/wordnik-apiobjc/client/SWGFacet.h
samples/client/wordnik-apiobjc/client/SWGFacet.m
samples/client/wordnik-apiobjc/client/SWGFacetValue.h
samples/client/wordnik-apiobjc/client/SWGFacetValue.m
samples/client/wordnik-apiobjc/client/SWGFile.h
samples/client/wordnik-apiobjc/client/SWGFile.m
samples/client/wordnik-apiobjc/client/SWGFrequency.h
samples/client/wordnik-apiobjc/client/SWGFrequency.m
samples/client/wordnik-apiobjc/client/SWGFrequencySummary.h
samples/client/wordnik-apiobjc/client/SWGFrequencySummary.m
samples/client/wordnik-apiobjc/client/SWGLabel.h
samples/client/wordnik-apiobjc/client/SWGLabel.m
samples/client/wordnik-apiobjc/client/SWGNote.h
samples/client/wordnik-apiobjc/client/SWGObject.h
samples/client/wordnik-apiobjc/client/SWGObject.m
samples/client/wordnik-apiobjc/client/SWGRelated.h
samples/client/wordnik-apiobjc/client/SWGScoredWord.h
samples/client/wordnik-apiobjc/client/SWGSentence.h
samples/client/wordnik-apiobjc/client/SWGSentence.m
samples/client/wordnik-apiobjc/client/SWGSimpleDefinition.h
samples/client/wordnik-apiobjc/client/SWGSimpleExample.h
samples/client/wordnik-apiobjc/client/SWGStringValue.h
samples/client/wordnik-apiobjc/client/SWGStringValue.m
samples/client/wordnik-apiobjc/client/SWGSyllable.h
samples/client/wordnik-apiobjc/client/SWGTextPron.h
samples/client/wordnik-apiobjc/client/SWGUser.h
samples/client/wordnik-apiobjc/client/SWGWordApi.h
samples/client/wordnik-apiobjc/client/SWGWordList.h
samples/client/wordnik-apiobjc/client/SWGWordList.m
samples/client/wordnik-apiobjc/client/SWGWordListApi.h
samples/client/wordnik-apiobjc/client/SWGWordListApi.m
samples/client/wordnik-apiobjc/client/SWGWordListWord.h
samples/client/wordnik-apiobjc/client/SWGWordListsApi.h
samples/client/wordnik-apiobjc/client/SWGWordListsApi.m
samples/client/wordnik-apiobjc/client/SWGWordObject.h
samples/client/wordnik-apiobjc/client/SWGWordOfTheDay.h
samples/client/wordnik-apiobjc/client/SWGWordOfTheDay.m
samples/client/wordnik-apiobjc/client/SWGWordSearchResult.h
samples/client/wordnik-apiobjc/client/SWGWordSearchResults.h
samples/client/wordnik-apiobjc/client/SWGWordSearchResults.m
samples/client/wordnik-apiobjc/client/SWGWordsApi.h
samples/client/wordnik-apiobjc/client/SWGWordsApi.m
samples/client/wordnik-api-objc/Podfile
samples/client/wordnik-api-objc/client/SWGAccountApi.h
samples/client/wordnik-api-objc/client/SWGAccountApi.m
samples/client/wordnik-api-objc/client/SWGApiClient.h
samples/client/wordnik-api-objc/client/SWGApiClient.m
samples/client/wordnik-api-objc/client/SWGApiTokenStatus.h
samples/client/wordnik-api-objc/client/SWGApiTokenStatus.m
samples/client/wordnik-api-objc/client/SWGAudioFile.h
samples/client/wordnik-api-objc/client/SWGAudioFile.m
samples/client/wordnik-api-objc/client/SWGAuthenticationToken.h
samples/client/wordnik-api-objc/client/SWGAuthenticationToken.m
samples/client/wordnik-api-objc/client/SWGBigram.h
samples/client/wordnik-api-objc/client/SWGBigram.m
samples/client/wordnik-api-objc/client/SWGCitation.h
samples/client/wordnik-api-objc/client/SWGCitation.m
samples/client/wordnik-api-objc/client/SWGContentProvider.h
samples/client/wordnik-api-objc/client/SWGContentProvider.m
samples/client/wordnik-api-objc/client/SWGDate.h
samples/client/wordnik-api-objc/client/SWGDate.m
samples/client/wordnik-api-objc/client/SWGDefinition.h
samples/client/wordnik-api-objc/client/SWGDefinition.m
samples/client/wordnik-api-objc/client/SWGDefinitionSearchResults.h
samples/client/wordnik-api-objc/client/SWGDefinitionSearchResults.m
samples/client/wordnik-api-objc/client/SWGExample.h
samples/client/wordnik-api-objc/client/SWGExample.m
samples/client/wordnik-api-objc/client/SWGExampleSearchResults.h
samples/client/wordnik-api-objc/client/SWGExampleSearchResults.m
samples/client/wordnik-api-objc/client/SWGExampleUsage.h
samples/client/wordnik-api-objc/client/SWGExampleUsage.m
samples/client/wordnik-api-objc/client/SWGFacet.h
samples/client/wordnik-api-objc/client/SWGFacet.m
samples/client/wordnik-api-objc/client/SWGFacetValue.h
samples/client/wordnik-api-objc/client/SWGFacetValue.m
samples/client/wordnik-api-objc/client/SWGFile.h
samples/client/wordnik-api-objc/client/SWGFile.m
samples/client/wordnik-api-objc/client/SWGFrequency.h
samples/client/wordnik-api-objc/client/SWGFrequency.m
samples/client/wordnik-api-objc/client/SWGFrequencySummary.h
samples/client/wordnik-api-objc/client/SWGFrequencySummary.m
samples/client/wordnik-api-objc/client/SWGLabel.h
samples/client/wordnik-api-objc/client/SWGLabel.m
samples/client/wordnik-api-objc/client/SWGNote.h
samples/client/wordnik-api-objc/client/SWGNote.m
samples/client/wordnik-api-objc/client/SWGObject.h
samples/client/wordnik-api-objc/client/SWGObject.m
samples/client/wordnik-api-objc/client/SWGRelated.h
samples/client/wordnik-api-objc/client/SWGRelated.m
samples/client/wordnik-api-objc/client/SWGScoredWord.h
samples/client/wordnik-api-objc/client/SWGScoredWord.m
samples/client/wordnik-api-objc/client/SWGScrabbleScoreResult.h
samples/client/wordnik-api-objc/client/SWGScrabbleScoreResult.m
samples/client/wordnik-api-objc/client/SWGSentence.h
samples/client/wordnik-api-objc/client/SWGSentence.m
samples/client/wordnik-api-objc/client/SWGSimpleDefinition.h
samples/client/wordnik-api-objc/client/SWGSimpleDefinition.m
samples/client/wordnik-api-objc/client/SWGSimpleExample.h
samples/client/wordnik-api-objc/client/SWGSimpleExample.m
samples/client/wordnik-api-objc/client/SWGStringValue.h
samples/client/wordnik-api-objc/client/SWGStringValue.m
samples/client/wordnik-api-objc/client/SWGSyllable.h
samples/client/wordnik-api-objc/client/SWGSyllable.m
samples/client/wordnik-api-objc/client/SWGTextPron.h
samples/client/wordnik-api-objc/client/SWGTextPron.m
samples/client/wordnik-api-objc/client/SWGUser.h
samples/client/wordnik-api-objc/client/SWGUser.m
samples/client/wordnik-api-objc/client/SWGWordApi.h
samples/client/wordnik-api-objc/client/SWGWordApi.m
samples/client/wordnik-api-objc/client/SWGWordList.h
samples/client/wordnik-api-objc/client/SWGWordList.m
samples/client/wordnik-api-objc/client/SWGWordListApi.h
samples/client/wordnik-api-objc/client/SWGWordListApi.m
samples/client/wordnik-api-objc/client/SWGWordListWord.h
samples/client/wordnik-api-objc/client/SWGWordListWord.m
samples/client/wordnik-api-objc/client/SWGWordListsApi.h
samples/client/wordnik-api-objc/client/SWGWordListsApi.m
samples/client/wordnik-api-objc/client/SWGWordObject.h
samples/client/wordnik-api-objc/client/SWGWordObject.m
samples/client/wordnik-api-objc/client/SWGWordOfTheDay.h
samples/client/wordnik-api-objc/client/SWGWordOfTheDay.m
samples/client/wordnik-api-objc/client/SWGWordSearchResult.h
samples/client/wordnik-api-objc/client/SWGWordSearchResult.m
samples/client/wordnik-api-objc/client/SWGWordSearchResults.h
samples/client/wordnik-api-objc/client/SWGWordSearchResults.m
samples/client/wordnik-api-objc/client/SWGWordsApi.h
samples/client/wordnik-api-objc/client/SWGWordsApi.m
samples/client/wordnik-api-php/wordnik/AccountApi.php
samples/client/wordnik-api/scala/src/test/scala/AccountApiTest.scala
samples/client/wordnik-api/scala/src/test/scala/WordApiTest.scala
samples/client/wordnik-api/scala/src/test/scala/WordListApiTest.scala
samples/client/wordnik-api/scala/src/test/scala/WordsApiTest.scala
samples/client/wordnik/objc/client/SWGAccountApi.h
samples/client/wordnik/objc/client/SWGAccountApi.m
samples/client/wordnik/objc/client/SWGApiTokenStatus.h
samples/client/wordnik/objc/client/SWGAudioFile.h
samples/client/wordnik/objc/client/SWGAuthenticationToken.h
samples/client/wordnik/objc/client/SWGBigram.h
samples/client/wordnik/objc/client/SWGCitation.h
samples/client/wordnik/objc/client/SWGCitation.m
samples/client/wordnik/objc/client/SWGContentProvider.h
samples/client/wordnik/objc/client/SWGContentProvider.m
samples/client/wordnik/objc/client/SWGDefinition.h
samples/client/wordnik/objc/client/SWGDefinition.m
samples/client/wordnik/objc/client/SWGDefinitionSearchResults.h
samples/client/wordnik/objc/client/SWGDefinitionSearchResults.m
samples/client/wordnik/objc/client/SWGExample.h
samples/client/wordnik/objc/client/SWGExample.m
samples/client/wordnik/objc/client/SWGExampleSearchResults.h
samples/client/wordnik/objc/client/SWGExampleSearchResults.m
samples/client/wordnik/objc/client/SWGExampleUsage.h
samples/client/wordnik/objc/client/SWGExampleUsage.m
samples/client/wordnik/objc/client/SWGFacet.h
samples/client/wordnik/objc/client/SWGFacet.m
samples/client/wordnik/objc/client/SWGFacetValue.h
samples/client/wordnik/objc/client/SWGFacetValue.m
samples/client/wordnik/objc/client/SWGFile.h
samples/client/wordnik/objc/client/SWGFrequency.h
samples/client/wordnik/objc/client/SWGFrequency.m
samples/client/wordnik/objc/client/SWGFrequencySummary.h
samples/client/wordnik/objc/client/SWGFrequencySummary.m
samples/client/wordnik/objc/client/SWGLabel.h
samples/client/wordnik/objc/client/SWGLabel.m
samples/client/wordnik/objc/client/SWGNote.h
samples/client/wordnik/objc/client/SWGRelated.h
samples/client/wordnik/objc/client/SWGScoredWord.h
samples/client/wordnik/objc/client/SWGSentence.h
samples/client/wordnik/objc/client/SWGSentence.m
samples/client/wordnik/objc/client/SWGSimpleDefinition.h
samples/client/wordnik/objc/client/SWGSimpleExample.h
samples/client/wordnik/objc/client/SWGStringValue.h
samples/client/wordnik/objc/client/SWGStringValue.m
samples/client/wordnik/objc/client/SWGSyllable.h
samples/client/wordnik/objc/client/SWGTextPron.h
samples/client/wordnik/objc/client/SWGUser.h
samples/client/wordnik/objc/client/SWGWordApi.h
samples/client/wordnik/objc/client/SWGWordList.h
samples/client/wordnik/objc/client/SWGWordList.m
samples/client/wordnik/objc/client/SWGWordListApi.h
samples/client/wordnik/objc/client/SWGWordListApi.m
samples/client/wordnik/objc/client/SWGWordListWord.h
samples/client/wordnik/objc/client/SWGWordListsApi.h
samples/client/wordnik/objc/client/SWGWordListsApi.m
samples/client/wordnik/objc/client/SWGWordObject.h
samples/client/wordnik/objc/client/SWGWordOfTheDay.h
samples/client/wordnik/objc/client/SWGWordOfTheDay.m
samples/client/wordnik/objc/client/SWGWordSearchResult.h
samples/client/wordnik/objc/client/SWGWordSearchResults.h
samples/client/wordnik/objc/client/SWGWordSearchResults.m
samples/client/wordnik/objc/client/SWGWordsApi.h
samples/client/wordnik/objc/client/SWGWordsApi.m
samples/server-generator/node/README.md
samples/server/petstore/jaxrs/src/main/java/io/swagger/model/Pet.java
samples/server/petstore/nodejs/app/apis/PetApi.js
samples/server/petstore/nodejs/app/apis/StoreApi.js
samples/server/petstore/nodejs/app/apis/UserApi.js
sbt
src/main/resources/objc/api-body.mustache
src/main/resources/php/Swagger.mustache
src/main/resources/python/swagger.mustache
src/main/scala/com/wordnik/swagger/codegen/BasicAndroidJavaClient.scala
src/main/scala/com/wordnik/swagger/codegen/BasicGenerator.scala
src/main/scala/com/wordnik/swagger/codegen/BasicPythonGenerator.scala
src/main/scala/com/wordnik/swagger/codegen/BasicScalaGenerator.scala
src/main/scala/com/wordnik/swagger/codegen/Codegen.scala
src/main/scala/com/wordnik/swagger/codegen/ScalaAsyncClientGenerator.scala
src/main/scala/com/wordnik/swagger/codegen/model/AuthorizationModels.scala
src/main/scala/com/wordnik/swagger/codegen/spec/SwaggerSpecValidator.scala
src/main/scala/com/wordnik/swagger/codegen/util/RemoteUrl.scala
src/test/scala/CodegenTest.scala
2015-02-16 21:01:17 -08:00
Tony Tam
f3455397ec
rebuilt clients
2015-02-16 17:56:13 -08:00
Tony Tam
88351ed844
rebuilt client
2015-02-15 21:25:41 -08:00
Tony Tam
69dceb7f69
updated samples
2015-02-05 20:58:32 -08:00
Tony Tam
2c55649797
renamed package
2015-02-05 20:57:21 -08:00
Mark H. Butler
c8dac4a3cf
Reverting these files, they don't need to change
2014-10-08 08:25:23 -07:00
Mark H. Butler
6f30a6d65a
Modifying the pom.xml template because it defaults to building with Scala 2.9.1, but that is broken because BeanProperty moved, so instead use 2.10 as the default but add the option of using Scala 2.11
2014-10-08 08:20:02 -07:00
Lloyd
1734ac2e18
Update deprecated method calls
...
1. Update specs to inherit via `with Matchers`
2. Update `URLEncoder.encode` to pass "UTF-8" as charset
2014-10-02 10:49:20 +09:00