Commit Graph

10647 Commits

Author SHA1 Message Date
Jim Schubert
52322c47c9 [finch] Allow finch server to compile for CI checks (#7)
Previous error handling implementation had types returning
Either[CommonError, UserType], but implemented with the scala shortcut
??? which throws an exception instead. This causes compilation to fail
with a message that the expected CommonError is of type Any. This is
often fixable with generic upper bounds constraints, but this is
overkill for a placeholder implementation. Returning a temporary 'TODO'
type solves the compile error, and should allow CI to check for valid
compilation on changes.

Included in this is also a fix to support optional query parameter
types. The spec used to generate the finch server has optional query
parameters, but the version of finch in the template doesn't support
options on query parameters. Finch does, however, aggregate everything
(headers, query string, path parameters, etc) under "param" with
"paramOption" for those which are optional types.
2018-05-13 11:07:14 +08:00
William Cheng
d80e295852
Fix JS test using baseName in default value (#5)
* fix js test using baseName in default value

* re-enable JS test
2018-05-13 10:19:16 +08:00
Jim Schubert
e33f9e52b2
Merge pull request #6 from OpenAPITools/update_file_header
Update header for Java files
2018-05-12 14:04:02 -04:00
wing328
18031e3492 update header for java files 2018-05-13 01:57:57 +08:00
William Cheng
1d889da4e3
Various fixes (#1)
* fix pistache c++ server in windows

* skip perl test

* comment out go tests

* Fix go test, manually fix go client

* fix rails batch file

* fix tab in java file

* install rust

* fix swift2-deprecated in windows batch file

* fix rust installation

* comment out js test

* update swift windows batch files

* update tizen batch script

* comment out ktor test
2018-05-13 01:31:13 +08:00
William Cheng
bc20483345
Merge pull request #2 from ackintosh/readme
Cosmetic changes for README
2018-05-12 23:21:37 +08:00
akihito.nakano
efa27cec97 Add link 2018-05-12 22:54:47 +09:00
akihito.nakano
94dfb6b998 Fix links 2018-05-12 22:51:16 +09:00
akihito.nakano
db2319ae7c Align heading level 2018-05-12 22:41:09 +09:00
akihito.nakano
935790e865 Numbering 2018-05-12 22:36:57 +09:00
akihito.nakano
8b67250e1c table 2018-05-12 22:12:27 +09:00
akihito.nakano
3b3874b154 centering, sort 2018-05-12 22:02:45 +09:00
akihito.nakano
22757bb4bd Centering badges 2018-05-12 21:56:37 +09:00
William Cheng
b5942624d6
update documentation (#428) 2018-05-12 10:19:27 +08:00
William Cheng
2ed3d8cc86
Update python test (#426)
* update python test folders

* update python template

* update python samples

* fix python comment too long

* update ruby test case
2018-05-12 09:54:19 +08:00
William Cheng
4b7a583b33
Update Swift default value (#407)
* update swift4 default

* update swift3 default value

* update swift default value
2018-05-12 00:15:24 +08:00
William Cheng
c905f6b5bb
fix pom (#427) 2018-05-12 00:10:52 +08:00
William Cheng
0ad66f7fe5
fix ruby test case, update gemfile (#425) 2018-05-11 20:51:35 +08:00
William Cheng
b3f3eabc72
remove php old files, fix php folder in pom (#423) 2018-05-11 20:51:24 +08:00
Jérémie Bresson
fcec2d74e0
Merge 'master' branch of 'swagger-codegen' into 'master' (#422)
Corresponding commit swagger-codegen: cccd0930368dd4c54d04bdfcaa3496685c3ed9b8

Co-authored-by: Andreas Müller <inidona@users.noreply.github.com>
Co-authored-by: Geoff Brown <gbrown@centeredgesoftware.com>
Co-authored-by: Raphael Ochsenbein <akekahn@gmail.com>
2018-05-11 14:35:56 +02:00
William Cheng
70733deab9
remove unused js files (#421) 2018-05-11 17:28:24 +08:00
Jérémie Bresson
ad0e05cf5c
Fixes in README.md (#418) 2018-05-11 10:35:59 +02:00
William Cheng
7d75c66180
Various updates (#419)
* various updates

* update pom.xml

* update ci config with new location

* Change "swagger-codegen" to "openapi-generator" in a comment

* fix pom.xml for bash client

* minor fix to github ID

* fix pom for ios
2018-05-11 15:28:32 +08:00
William Cheng
e5be838fa8
Update PHP client default value (#417)
* update php default value

* update php samples with oas3
2018-05-11 15:28:09 +08:00
William Cheng
0d913e6801
add step to restore Org.OpenAPITools.Test.csproj (#420) 2018-05-11 14:34:03 +08:00
William Cheng
5ae2d9b5f0
Add Question & Answer section (#413)
* add question and anaswer section

* add project URL to the license

* Use relative path for link between pages

* Reword some sentences, remove we/they style
2018-05-11 13:28:17 +08:00
Jérémie Bresson
9247cd01e7 Changes for Docker (#400) 2018-05-11 11:41:42 +08:00
William Cheng
a4f76b889e
update R default value, clean up old R files, add window batch for (#415)
openapi3
2018-05-11 11:25:50 +08:00
Akihito Nakano
7716d7e9b3 Rename the description of projectName option (#414) 2018-05-11 11:25:14 +08:00
Jérémie Bresson
90b7c89443 Implement hideGenerationTimestamp for kotlin-server ktor (#416) 2018-05-11 11:24:56 +08:00
William Cheng
064418ed12
update finch generator's default value (#394) 2018-05-11 09:18:49 +08:00
William Cheng
2d60c082b2
replace body parameter naming extension (#412) 2018-05-10 16:00:38 +08:00
Jérémie Bresson
dc4d6e499c Add Migration from swagger-codegen guide (#408)
* Add Migration guide

* Update migration-from-swagger-codegen.md
2018-05-10 13:51:19 +08:00
Akihito Nakano
d958480fea Reaname R default package name (#411)
* Rename package name

* Update samples

bin/openapi3/r-petstore.sh
2018-05-10 13:50:42 +08:00
Jérémie Bresson
a07ab606dc Small fixes in samples (#410) 2018-05-10 13:45:12 +08:00
William Cheng
9ac9bc0dc3
enhance ts import (#409) 2018-05-10 13:08:12 +08:00
William Cheng
b21b964c43
change default value for rust client (#406) 2018-05-10 11:20:59 +08:00
William Cheng
868ede53f9
Update Scalatra's default value (#403)
* update scalatra default value

* minor rupdate to template
2018-05-10 10:56:11 +08:00
William Cheng
27c372ff56
Update akka scala default value (#401)
* update akka scala default value

* fix akka-scala test option
2018-05-10 10:55:44 +08:00
William Cheng
f615d823f9
update ts node dependencies (#405) 2018-05-09 22:53:05 +08:00
William Cheng
8cedb66063
wording change for haskell http client (#404) 2018-05-09 22:31:48 +08:00
Jérémie Bresson
fbf2e135ef Docs: several small fixes (#399)
* Fixes for CONTRIBUTING.md

* Other docs fixes
2018-05-09 21:49:27 +08:00
William Cheng
286f2caa22
update scala default value (#402) 2018-05-09 21:48:32 +08:00
Jérémie Bresson
58f7a6f0c4 Fixes in new.sh (#398) 2018-05-09 18:21:13 +08:00
Jérémie Bresson
2ee05e12d2 Fixes in security examples (#396)
* Regenerate "samples/client/petstore-security-test/java/okhttp-gson/"

* Use correct jar

* Fix sh scripts

* Fix path: modules/swagger-codegen => modules/openapi-generator/
2018-05-09 18:13:30 +08:00
William Cheng
4852434d13
update scalaz default value (#395) 2018-05-09 17:26:42 +08:00
Jérémie Bresson
a00261d3da Change default package name value for kotlin server (#387)
* Update default package

* Regenerate samples/server/petstore/kotlin-server/ktor

* Update git ignore

* Add CI
2018-05-09 16:38:16 +08:00
William Cheng
5fb1660fe1
Update default value for PowerShell, HTML2 generator (#388)
* update powershell script

* update powershell bin script (oas3)

* update html2 generator's default value
2018-05-09 16:37:42 +08:00
William Cheng
dcd26ece71
Update Scala gatling's default value (#390)
* update powershell script

* update powershell bin script (oas3)

* update html2 generator's default value

* update scala gatling default value
2018-05-09 16:34:54 +08:00
Jérémie Bresson
4ae1113c00 Rename C# default package name for html2 (#389)
* Change C# package name for html2

* Regenerate 'html2'
2018-05-09 16:34:31 +08:00