TNM Technologies
22902e72a1
fix( #1423 ): [JAVA] generating Map with jaxrs-reasteasy does not import ( #1426 )
...
* fix(#1423 ): [JAVA] generating Map with jaxrs-reasteasy does not import
the hashmap
https://github.com/OpenAPITools/openapi-generator/issues/1423
* fix(#1423 ): fix ensure-up-to-date issues for jaxrs-resteasy joda
samples
https://github.com/OpenAPITools/openapi-generator/issues/1423
2018-11-14 10:18:53 +08:00
William Cheng
efde4a8eb8
Fix issue with C# generator when the model name is "File" ( #1428 )
...
* fix get schema type in abstract c# class
* update c# petstore sample
2018-11-14 09:43:31 +08:00
Akihito Nakano
c8837ea414
Change entrypoint to docker-entrypoint.sh ( #1413 )
...
Run entrypoint script
2018-11-13 17:24:04 +09:00
William Cheng
7c3a2a5c07
Fix run-in-docker by disabling useSystemClassLoader ( #1418 )
...
* test run-in-docker in travis
* fix command path
* correct batch mode arg
* disable useSystemClassLoader
2018-11-12 22:07:46 +08:00
William Cheng
7e3149e675
fix npe when paramName is null ( #1416 )
2018-11-12 22:06:58 +08:00
meganemura
9db62f459a
Fix return_type parameter examples in ruby-client ( #1399 )
...
* Fix return_type parameter examples
* $ bin/openapi3/ruby-client-petstore.sh
2018-11-12 14:26:05 +08:00
William Cheng
c7349c7f88
Add top level x-group-parameters support ( #1405 )
...
* add top level x-group-parameters support
* update petstore samples
2018-11-12 14:25:32 +08:00
William Cheng
69a766882d
Add tip about running online openapi-generator via Docker ( #1415 )
...
Add tip about running online openapi-generator via Docker
2018-11-12 11:37:30 +08:00
William Cheng
7ce38aae38
Remove duplicated imports ( #1414 )
...
* remove duplicated imports
* fix model import in java
* update generator docs
* fix model import for retrofit2 client
2018-11-11 21:33:28 +08:00
sunn
fd46b4e566
Sanitize Model Import ( #1411 )
2018-11-10 21:07:49 +01:00
James Addyman
5711985ac3
Fix swift4 1406 ( #1407 )
...
* Fix warnings produced when using Swift 4.2
* Update Petstore client for Swift 4
2018-11-10 13:59:58 +09:00
William Cheng
7c6beb9692
update generator doc
2018-11-10 00:28:08 +08:00
sunn
8ba4b3a276
Sanitize names in case number is present ( #1409 )
2018-11-09 16:53:30 +01:00
Simas Abramovas
f802e63f9f
Add parcelizeModels cli option ( #1289 )
...
* Add parcelizeModels cli option
* Add info log to clarify the parcelization requirements.
* Update docs
2018-11-09 23:51:27 +08:00
sunn
0ed02c8e91
Fixes double prefixing during model import ( #1398 )
2018-11-09 16:49:47 +01:00
Eivind Bergstøl
93e2fc6355
Fixes an issue where code generator for Java produces not compileable ( #1357 )
...
code if the yml-definition does not have any type definitions. This
is normal if the api only uses simple datatypes (Int, String) for
inout/output.
2018-11-09 23:48:26 +08:00
William Cheng
60bc19e830
Add file post-processing to PHP generators ( #1402 )
...
* add file post processing to php
* restore php petstore client
2018-11-09 23:45:21 +08:00
William Cheng
d59230fd27
change python pool_thread default to 1 ( #1403 )
2018-11-09 23:44:47 +08:00
Benjamin Gill
4742f0086b
[rust-server] Re-instate ApiRequestParser ( #1388 )
...
* Re-instate ApiRequestParser
It turns out I was over-eager when removing file support and accidentally deleted some code that should have been kept. See https://github.com/OpenAPITools/openapi-generator/pull/547/files#diff-684007b298ee5998fa30732c261ea2fcL469 .
* Don't do html escaping of parameters
2018-11-09 11:23:59 +00:00
William Cheng
1522855915
update python petstore samples
2018-11-08 21:47:16 +08:00
sunn
75b1403c1e
[cpp-qt5] improvements for server and client ( #1284 )
...
- Remove pointer usage in generated models
- Use const reference wherever possible
- Reuse same super class for Qt5 client and server
- Support primitive return types for Qt5 client
- Add const reference to API calls
2018-11-08 14:18:57 +01:00
William Cheng
a023a0d0ca
update petstore samples
2018-11-08 18:32:48 +08:00
William Cheng
e6c97a1bc1
Merge remote-tracking branch 'origin/3.4.x' into 4.0.x
2018-11-08 18:18:12 +08:00
William Cheng
a186efed35
Merge remote-tracking branch 'origin/master' into 3.4.x
2018-11-08 18:17:29 +08:00
William Cheng
3969afb2ff
Add file post-processing to Kotlin generators ( #1400 )
...
* add post processing to kotlin file
* restore kotlin samples
2018-11-08 17:40:39 +08:00
William Cheng
2ef499faf3
[python] Avoid creating unused ThreadPools ( #1387 )
...
* Avoid creating unused ThreadPools
Instead, create ApiClient.pool on first request for .pool property.
avoids spawning n-cpus threads (the default for ThreadPool) at instantiation of every ApiClient
* update doc
* set pool_thread to None
2018-11-08 17:39:20 +08:00
William Cheng
34945427d4
fix java exception in apex codegen ( #1395 )
2018-11-07 22:32:22 +08:00
Benjamin Gill
5849dbaaca
Add tests for inline objects ( #1331 )
...
I think these tests cover all the problems with rust-server and inline objects I know about. This should show us when we've fixed the problem.
Also fixes a CI failure.
2018-11-07 11:07:53 +00:00
Steven Masala
73162cbcca
fix name sanitation when using kebab case filenaming ( #1314 )
...
* fix name sanitation when using kebab case filenaming
* remove whitespaces
2018-11-07 15:52:51 +08:00
Guy Gershoni
0e2e1bf715
Added tests and fix for issue #1392 . Fix regex generated in Ruby client. ( #1393 )
...
* Added tests and fix for issue #1392 . Param validation with regex not recognizing \d correctly in Ruby client.
* Added generated files to pass ./bin/utils/ensure-up-to-date which is run by circleci
2018-11-07 12:08:23 +08:00
William Cheng
f21640f6a1
update spring samples
2018-11-07 11:46:17 +08:00
Konstantin Pavlov
301208a785
JavaSpring: pojo: fix javadoc comment ( #1384 )
2018-11-07 11:26:56 +08:00
William Cheng
4245cf42dd
update generator doc
2018-11-07 01:02:44 +08:00
Christophe Bornet
2184a8a9b4
[Flask] Upgrade to flask-connexion 2.0.0 ( #1382 )
...
Fix #323
2018-11-06 18:37:50 +08:00
Benjamin Gill
30bfebfa16
Rust server html ( #1329 )
...
Builds on #1180 by @colelawrence. This addition to the rust-server generator enables the use of text/html responses as plaintext.
I've added an html endpoint to the sample to demonstrate that this works (and fixed the problem that that uncovered).
2018-11-05 16:14:23 +00:00
Martin Fidczuk
303b469fae
Allow package version to be passed on CLI (Rust fix) ( #1286 )
...
This MR allows package version to be specified in Rust in the generate argument list, with the argument `-DpackageVersion=<package_version>`. If this argument is present then the version in the resulting Cargo.toml file will be the passed value. If this argument is not present then the version in the OpenAPI definition file will be used, as per current behavior.
2018-11-05 16:12:43 +00:00
William Cheng
c95b1f4545
fix incorrect patternin aspnetcore ( #1371 )
2018-11-05 10:21:55 +08:00
William Cheng
fbc3ff8766
Add a link to an article about openapi-generator ( #1370 )
2018-11-05 08:17:22 +08:00
Nathan Broadbent
63b1c233c9
Fix issue with Ruby client where strings from example properties are not wrapped with quotes ( #987 )
2018-11-04 17:10:35 +08:00
andreas-eternach
eb5a8cc752
feat: OpenApi-generation from within eclipse ( #509 ) ( #1332 )
...
* feat: OpenApi-generation from within eclipse (#509 )
* Added life-cycle-mapping for recognition by M2E
* Make BuildContext injectable by M2E in oder to detect if json-source
has been modified and a regeneration is required.
* core: fix indentation problems, remove commented code
2018-11-04 17:07:33 +08:00
Benoît Courtine
293d29ab3b
Fixes bug #1339 . Array and Map inner schema can be missing. In this case, it must default to String. ( #1363 )
2018-11-03 22:19:19 +08:00
Kiran-Sivakumar
078b04deac
[Java][okhttp-gson] Add new ApiClient constructors for access token retry ( #1319 )
...
* Add new ApiClient constructors for access token retry
* Update samples
* Update security samples
2018-11-03 22:10:16 +08:00
Kay Schecker
7eb9cda1e0
Added hint for npm package wrapper to README ( #1350 )
...
* Added hint for npm package wrapper to README
* Added manual how to use and install NPM package globally
2018-11-03 22:06:11 +08:00
Vasili Puchko
ac6fd3f79f
Update gradle plugin's Readme.md ( #1356 )
...
Add a note about use of `systemProperties` since some options are confusing and hard to guess how to use correctly. The only source I was able to find how to configure it in the way I need was a comment to issue https://github.com/OpenAPITools/openapi-generator/issues/551#issuecomment-411686091
2018-11-03 21:58:43 +08:00
sunn
f8f3a08282
[cpp-pistache]Add support for map ( #1359 )
...
* Add support for map
* Add support for nested maps
* Simplify Array and Map Helper
* Use const reference wherever possible
2018-11-03 14:09:31 +01:00
William Cheng
36991a4e14
Improve ensure-up-to-date script ( #1362 )
...
* improve ensure-up-to-date script
* trigger build failure
* use exit 1 instead
* fix build failure
* update samples
2018-11-02 15:38:34 +08:00
Juan Eugenio Abadie
ecff8b5d00
[cpp rest-sdk]Fix precision ( #1293 )
...
* Convert floating point numbers to string with higher precision
* Update PetStore
2018-11-01 20:25:38 +01:00
Ysawa
521f5fafa3
Fix defaultValue for String schama in Dart ( #1342 )
2018-11-01 17:50:01 +08:00
William Cheng
02e85cc417
Prepare v3.3.3-SNAPSHOT ( #1355 )
...
* prepare 3.3.3-snapshot
* update petstore samples
2018-11-01 10:42:26 +08:00
William Cheng
0cc9b69b6f
3.3.2 release ( #1353 )
...
* prepare 3.3.2 release
* update script to remove outdated reference
2018-10-31 20:48:14 +08:00