Commit Graph

12242 Commits

Author SHA1 Message Date
Erik Hvattum
87c9de210f Feature/typescript fetch/map templating (#2913)
* Add openapi dictionary/map support to typescript-fetch client generator

	Change isContainer -> isListContainer for existing array support.
	Add isMapContainer control flow, adding map support.
	Add utility function to help map openapi map/dictionaries to ts maps.
	Close #1878

* Run typescript-fetch generator scripts and update output files
2019-05-20 16:54:43 +08:00
Vincent Devos
d5e24f0111 [JAVA] fix artifactVersion overriding snapshot parameter when set (#2891) 2019-05-20 16:12:28 +08:00
drl-max
1ad6701f02 Wrote method to remove newline characters (Windows or Unix style) from both strings before comparing them. (#2927) 2019-05-20 15:53:19 +08:00
Timo Dörr
10ac54f1b3 typescript-fetch: Remove superfluous closing parenthsesis which result in compilation errors (#2922) 2019-05-20 15:49:44 +08:00
Logan Moore
81d53e2982 Change github link to the correct repo (#2938) 2019-05-20 14:16:02 +08:00
Vincent Devos
6bffe4dbc7 [Groovy] improve code parsing body/form params (#2879)
* [Groovy] improve code parsing body/form params

* remove leading space

* remove leading space
2019-05-20 11:20:48 +08:00
François Rosé
fdd08dc1f1 Remove @fvarose from technical committee (#2936) 2019-05-20 10:03:17 +08:00
Jérémie Bresson
4e579ff75b
[meta] remove cli dependency (#2896) 2019-05-19 21:25:16 +02:00
sunn
e85e1f112a
Separate exception types (#2930) 2019-05-18 11:57:23 +02:00
Vincent Devos
f550553e3f [Typescript] gets package npm version from API specification (#2920)
* [TypeScript] gets package npm version from API specification

* forgot flowtyped
2019-05-17 13:55:24 +08:00
ircecho
049d24ee4f dart2: update to work with dart 2.3.0 (#2894)
* dart2: update to work with dart 2.3.0

* dart2: update to work with dart 2.3.0
2019-05-15 22:49:54 +08:00
William Cheng
42f47b7b0a
add CAM logo to the website (#2898) 2019-05-15 22:25:34 +08:00
Sergey Moiseev
87414352a5 Add support of Bearer Basic Authorization to Ruby client (#2856)
* Support for Bearer in Ruby Client

* Update README.mustache

* Update README.mustache

* Update api_doc.mustache

* Update api_doc.mustache

* Update api_doc.mustache

* samples

* Uncommited changes

* Formatting

* More Formatting

* Fomatting

* More formatting

* More formatting

* Even more formatting

* Even more formatting

* More formatting

* Even more formatting

* More formatting

* More formatting
2019-05-15 21:17:57 +08:00
Mateusz Szychowski (Muttley)
c353f79342 [F#][Giraffe] Remove unused import (#2893) 2019-05-15 21:12:30 +08:00
Thibault Duperron
c3efb91e31 Disable jdk8 when using responseWrapper (#2873)
Fix #2872
2019-05-15 21:12:00 +08:00
William Cheng
cbe39ba881 Set version to 4.0.1-SNAPSHOT (#2882) 2019-05-14 10:28:32 +02:00
William Cheng
3744273312
4.0.0 release (#2878)
* remove snapshot version

* update readme

* undo changes to example

* revert apache maven version

* update gradle property
2019-05-13 20:56:47 +08:00
William Cheng
dc0c24b955
Minor wording change (#2875)
* better wording for version of openapi doc

* update petstore samples
2019-05-13 15:59:59 +08:00
Akira Tanimura
25392b9fd9 [Ruby] update TargetRubyVersion in .rubocop.yml to 2.4 (#2876) 2019-05-13 14:52:58 +08:00
Jonas DOREL
305f78c52b JS Client - Add support for empty enum in server object (#2853)
* Add support for empty enum in server object

* Updated samples
2019-05-13 14:21:43 +08:00
William Cheng
9d3c1f2262
update groovy readme (#2874) 2019-05-12 11:50:12 +08:00
William Cheng
001854171e
upgrade groovy to 2.5.7 (#2871) 2019-05-12 01:48:42 +08:00
William Cheng
92b994496c
Add CAM to company list (#2869) 2019-05-11 14:15:59 +08:00
William Cheng
0994ec3909 update ts rxjs samples 2019-05-11 12:19:08 +08:00
Patrick Ruckstuhl
a91130d6b4 Update README.mustache (#2866)
Fixed wrong reference to fetch instead of rxjs
2019-05-11 11:48:31 +08:00
Vincent Devos
ef26ce68d4 [Kotlin] client improvement / remove WildCards in client/server (#2862) 2019-05-11 11:42:11 +08:00
William Cheng
9323cad06b
[Core] Minor enhancements (#2863)
* fix getcontenttype, better working for skipFormModel

* add tests for allof
2019-05-11 11:11:06 +08:00
Vincent Devos
98afbe062b [GROOVY] update client generator to a stable version (#2847)
* [GROOVY] update client generator to a stable version

* fix tab

* fix remove using invokerPackage

* fix test
2019-05-11 11:10:25 +08:00
Fabrizio Ferrai
48314905da [Haskell-Servant] Upgrade to Servant 0.16 (#2849) 2019-05-11 11:08:53 +08:00
Béres Zoltán
757fcfeac6 Fixed vertex ApiClient template (#2841)
* updated java/vertex ApiClient template

* update java samples
2019-05-10 00:56:39 +08:00
Hemant Zope
8e91b8c62a [core] add support for model as query params (#2489)
* add support for model as query params

* add logging incase of multiple schemas are present
2019-05-09 15:31:58 +08:00
Vincent Devos
70108b753e [JAVA] fix artifactVersion is not taken from specification (#2798)
* [JAVA] fix artifactVersion is not taken from specification when not provided by generator option

* update jaxrs-spec samples

* update docs generator jaxrs
2019-05-09 15:19:52 +08:00
Fabrizio Ferrai
0ef579363d [haskell-servant] Fix parsing of special characters (#2676) 2019-05-09 15:08:51 +08:00
William Cheng
99e352af46 comment out elm script in ensure uptodate 2019-05-09 14:53:20 +08:00
Jon Rimmer
6d1a91e3c1 [Typescript] Warn about unset post-processing param (#2843) 2019-05-09 14:39:55 +08:00
Slavek Kabrda
21b8160d00 [Golang][client] Make it possible to generate go.mod and go.sum files - fixes #2796 (#2813) 2019-05-08 14:52:17 +08:00
Thiago Arrais
f2b1f770f8 [go] fix multipart for non-file inputs (#2792)
* [go] fix multipart for non-file inputs

* update relevant sample client
2019-05-08 11:19:06 +08:00
Matthieu Berthomé
ee43cc1520 handle composed schemas in InlineModelResolver (#2112)
* handle composed schemas in InlineModelResolver

* fix unit test -> TestUtils.parseSpec

* update samples

* fix samples

* update samples

* update samples

* add new files
2019-05-08 10:19:15 +08:00
fj-roman
7eb2be9c99 [Kotlin] add apiSuffix configuration (#2690)
* add apiSuffix configuration

* Add default value for Api suffix

* remove overriding method toApiName

* refactor the global option apiSuffix to kotlin specific feature

* add missing Option for apiSuffix

* extend readme.md for apiSuffix configuration

* update doc

* add testcase
2019-05-07 21:37:32 +08:00
Matthieu Berthomé
f0346aeeb2 python: api_client: add the multipart files after sanitization (#2122)
* python: api_client: add the multipart files after sanitization

* simplify prepare_post_parameters

* fix case of both post params and files set

* update samples

* update samples
2019-05-07 21:27:01 +08:00
Vincent Devos
a4f2e15bb7 [TypescriptAngular] gets package npm version from API specification (#2810) 2019-05-07 18:50:36 +08:00
Richard Whitehouse
31734c2717 [Rust Server] Support octet stream body param (#2725)
Add support for having a required octet stream as a body parameter.
2019-05-07 18:45:07 +08:00
Jérémie Bresson
16f94e7e62
Update swagger-parser to version 2.0.13-OpenAPITools.org-1 (#2775) 2019-05-06 22:58:48 +02:00
Vincent Devos
97e4270c0b [Java] improve docs with adding default value for additional properties (#2770)
* [Java] improve docs with adding default value for additional properties

* remove using File.separator for sourceFolder/projectTestFolder path

* Improve artifactId and artifactVersion description

* update doc java pkmst and sample
2019-05-06 22:31:12 +08:00
William Cheng
4fa284ed5d
Add Elm petstore scripts to ensure-uptodate script (#2823)
* update elm petstore samples

* add elm to ensure uptodate script

* add elm-format

* add symlink to elm-format
2019-05-06 22:19:59 +08:00
William Cheng
909d454f9d
[F#] minor improvements (#2825)
* Add template owner of F#

Add template owner of F#

* rename fsharp-giraffe-server

* add nmfisher to tech committee

* update windows batch file

* update doc
2019-05-06 22:11:50 +08:00
Thibault Duperron
5e92ec1b4c Fix default value for container jaxrs (#2618)
* Fix default value for container jaxrs

Fix #2600

* Samples
2019-05-06 22:06:46 +08:00
Felix Sonntag
6283625478 [Python][R] Escape single quotes in strings (#2808) (#2809) 2019-05-06 22:04:05 +08:00
topce
632364e290 fix multiple file upload (#2735)
for typescript-angular client
https://swagger.io/docs/specification/describing-request-body/file-upload/
2019-05-06 22:03:11 +08:00
Jim Schubert
e34e85427b
[gradle] Display non-Stable generator stability in parens on openApiGenerators task (#2826) 2019-05-06 08:35:34 -04:00