Sai Giridhar P
ad009180dd
fix(r): Adding repository url ( #5056 )
2020-01-21 10:47:05 +08:00
Mateusz Szychowski (Muttley)
6af27d52ca
[C++][Pistache] Rename value holder to lower chance of collision with parameter name ( #4948 )
...
* [C++][Pistache] Rename value holder to lower chance of collision with parameter name
* [C++][Pistache] Update Petstore sample
2020-01-21 00:47:26 +01:00
Jim Schubert
2bc3c196e8
[aspnetcore] Fix duplicate enums ( #5059 )
...
* [aspnetcore] Fix duplicate generation of enums
Fixes template issue where enums defined within a class were generated
regardless of whether they were a complexType (externally defined
"model") or an inlined enum.
2020-01-20 16:37:15 -05:00
Liam Martens
7599531960
Fixed call of toISOString on a string type when using string type-mapping ( #5057 )
2020-01-20 16:59:16 +01:00
William Cheng
2416fc0c76
Add a link to a blog post in dev.to ( #5052 )
2020-01-20 18:24:11 +08:00
William Cheng
04af5e0445
Merge remote-tracking branch 'origin/master' into 4.3.x
2020-01-20 15:04:34 +08:00
Đào Hoàng Sơn
3a8e598ca2
[dart-dio] Various fixes ( #5027 )
...
* [dart-dio+time_machine] Add missing import, serializer
* [dart-dio] Remove bad import from `http` package
* [dart-dio] Use raw strings for those that contain variable name.
This should eliminate potential issue with variables like `$ref`.
* [dart-dio] Use `_path` instead of `path` to avoid potential conflict with op params.
See 1bec0b47b1/Kubernetes.json
, there are a few with `{path}` param.
* [dart-dio+time_machine] Use `OffsetXxx` classes for date time values
2020-01-20 11:56:24 +08:00
Sebastien Rosset
449026add7
Add java code comments based on explanation from Jim Schubert ( #5048 )
2020-01-19 21:18:15 -05:00
Sebastien Rosset
f744ec55f8
Execute ./bin/openapi3/go-experimental-petstore.sh script ( #5049 )
2020-01-19 21:17:02 -05:00
Jim Schubert
644f720db8
[docs] Sorted doc outputs and clean up duplicated CliOptions ( #5046 )
...
* [config-help] Sort all outputs
* Remove old/stale generator docs (these have been renamed previously)
* Sort config doc outputs, making it easier to find relevant info
* Fixes cliOptions duplicates
Erlang client/proper improperly set the version option as packageName
(causing duplicate for packageName).
The java and swift option removals are because the options are added in
parent classes, resulting in duplication of the options.
* Add --github-nested-index for generating docs/generators/README.md
* 📝 Regenerate generator docs
2020-01-19 20:19:11 -05:00
Jim Schubert
bbe88ba635
Add docs/installation.md and docsite index to version update script ( #5037 )
2020-01-19 18:02:28 -05:00
Sebastien Rosset
d61dcc17e0
[gradle] consistent use of maven url in gradle files ( #5045 )
...
* wrap maven url with uri function
* consistent use of maven url in gradle files
2020-01-19 14:57:38 -05:00
Jim Schubert
23131c1a63
Use HTTPS Maven URL in Kotlin meta generator ( #5043 )
...
This continues on work in #5033 and #5034 which convert all http usage
to https to unblock CircleCI builds.
In #5034 , mavenCentral() DSL was updated to explicitly target the https
maven repo because Gradle didn't force TLS 1.2 until v4.8.1 and many of
our examples use earlier versions of Gradle. The Kotlin meta generator
was missed because it is a .kts build file rather than build.gradle, and
the mustache filename doesn't have kts in it; the file was updated as if
it was build.gradle (groovy syntax).
2020-01-19 10:42:25 -05:00
William Cheng
fff759b79c
[Python] fix numeric enum in python flask, aiohttp ( #5019 )
...
* minor code format fix
* fix numeric enum in python flask and aiohttp
* add python-server-all.sh to ensure-up-to-date
2020-01-19 15:25:20 +08:00
William Cheng
6a34706a9b
add multipleOf to various codegen classes ( #5021 )
2020-01-19 13:39:26 +08:00
William Cheng
c0ba498ddc
Add a link to a youtube video on Pulp and OpenAPI Generator ( #5038 )
2020-01-19 13:38:35 +08:00
Jim Schubert
ea55968737
Evaluating https issues in CircleCI (on top of CiscoM31-maven-h… ( #5034 )
...
* replace http with https. Replace http://central.maven.org with https://repo1.maven.org
* replace http://www.apache.org/licenses/LICENSE-2.0 with https://www.apache.org/licenses/LICENSE-2.0
* Force HTTPS for mavenCentral gradle DSL
Co-authored-by: Sebastien Rosset <serosset@cisco.com>
2020-01-18 18:53:05 -05:00
William Cheng
d1948c4b41
better code format in java jersey doc ( #5031 )
2020-01-18 19:11:51 +08:00
Nicholas Muesch
2722c602ac
Escape query params before invoking api ( #5023 )
...
* Escape query params before invoking api
* Update petstore file
* Update remaining petstore examples
2020-01-18 17:25:18 +08:00
Hippolyte HENRY
ee984c38a5
[Java][jersey2] Use builder pattern for requests ( #4666 )
...
* Use builder pattern for requests
* petstore
* Add @throws annotation
* regenerate jersey2 test files
* Also group bodyParam in builder class
* petstore java6
* regenerate java8
* ensure up to date
2020-01-18 16:12:20 +08:00
Yuriy Belenko
420039c9eb
[Slim4] Add integer formats support to Data Mocker ( #4965 )
...
* [Slim4] Support int32 and int64 data formats
* [Slim4] Fix data format key in object mocking
* [Slim4] Refresh samples
2020-01-18 16:08:13 +08:00
William Cheng
ffc69699c0
Add a link to Scala Gatling blog post ( #5029 )
2020-01-18 15:55:53 +08:00
William Cheng
3f074a280a
minor improve to rust server ( #5020 )
2020-01-17 18:54:31 +08:00
aandyl
67d23fcf7e
[Rust Server] fix handling of special characters in path param names ( #4897 )
...
* test for hyphen in path parameter name
* fix handling of hyphens in path parameter names
2020-01-17 15:44:23 +08:00
Josh Burton
f48325ac45
[dart-dio] Fixes issues with DateTime import and form date paramaterToString function ( #4929 )
...
- due to the addition of the timemachine library, models were importing ‘DateTime’ when using the core library, which is not a valid import.
- the parameterToString function was copied from the dart2 generator and had some errors when some enums were classes.
2020-01-17 15:35:38 +08:00
William Cheng
bb10e8cdd8
Merge branch 'master' of https://github.com/openapitools/openapi-generator
2020-01-16 21:46:35 +08:00
William Cheng
ef31e8f86b
fix permission of codegen classes
2020-01-16 21:46:12 +08:00
William Cheng
0ebdac4ffe
Replace http://central.maven.org with https://repo1.maven.org
2020-01-16 18:38:32 +08:00
Sebastien Rosset
fa0ef2be25
[Python] Conditionally set auth attributes ( #4988 )
...
* Enhance python API keys
* Run python scripts under ./bin/openapi3
* fix unit test issue
* Fix unit tests
* Fix unit tests
* Invoke bin scripts
2020-01-16 17:42:23 +08:00
Liv Fischer
b94fe7a40f
add multipleOf to CodegenProperty ( #2192 ) ( #5009 )
2020-01-16 17:27:49 +08:00
chatelao
3218587d2f
Fix Maven repo links (incl. https instead of http) ( #5013 )
...
The current URLs return a 501 due to missing https and worng url
2020-01-16 17:26:07 +08:00
Justin Black
fcdbcb095e
Updates maven urls, fix #5011 ( #5012 )
...
* Updates maven urls
* Runs ensure up to date'
2020-01-16 17:24:20 +08:00
Hippolyte HENRY
e09f1c9b37
[go-experimental] Use builder pattern for requests ( #4787 )
...
* [go-experimental] Use builder pattern for requests
2020-01-15 09:19:23 -05:00
William Cheng
55c6c0385b
add k8s to the user list ( #5002 )
2020-01-15 16:21:18 +08:00
Sebastien Rosset
fe8775a5a5
fix php ordering issue for CodegenSecurity ( #5001 )
2020-01-15 07:39:04 +01:00
William Cheng
50f7e14a99
update samples
2020-01-14 23:07:37 +08:00
sullis
6a48dd7cd6
upgrade Jackson, swagger-core, and swagger-parser ( #4915 )
...
- swagger-parser 2.0.17
- swagger-core 2.1.1
- jackson 2.10.1
2020-01-14 22:40:01 +08:00
Justin Black
8a94a3a7d5
[Java] Fixes Spring generator devaultValues for int64/float/double ( #4969 )
...
* Updates spring generator to omit type suffixes from int float double defaults, adds testDefaultValuesFixed
Adds the test testDefaultValuesFixed
* Updates SpringCodegen to only remove character suffixes from CodegenParameter defaultValues, updates tests
* Updates java function comment
* Adds early return in postProcessParameter
* Removes unneeded imports
* Fixes decorators on java method postProcessParameter
* Fixes typo
* Fixes paste error
* Removes unused import
2020-01-14 22:38:16 +08:00
Hui Yu
4767259df4
[C-libcurl] Support setting basePath and apiKeys when creating an apiClient ( #4960 )
2020-01-14 21:36:12 +08:00
Akihito Nakano
65a6d94842
Add a link to blog post in TECHSCORE ( #4996 )
2020-01-14 20:51:00 +08:00
William Cheng
0344f14e9a
fix csharp-netcore doc ( #4987 )
2020-01-14 14:11:35 +08:00
Justin Black
bf24d646c5
[PHP] fix php-slim4-server CI tests #4994 ( #4995 )
...
* Suggested no-api fix
* Adds sample update
2020-01-14 08:29:18 +03:00
Sai Giridhar P
fb6daa89b0
[r] Ignore cran-comments file from the build ( #4986 )
...
* fix(cran-comments): Ignoring CRAN comments file from build
* fix(cran-comments): Ignoring CRAN comments file from build
2020-01-13 21:31:40 +08:00
William Cheng
cf67725e4f
comment out broken tests due to bad data ( #4985 )
2020-01-13 16:38:29 +08:00
valery1707
b22fde6caa
Use UTF-8 charset on writing files ( #4984 )
2020-01-13 15:26:56 +08:00
valery1707
b22f7f033f
Reduce scope of recommended git configuration ( #4983 )
2020-01-13 10:34:43 +08:00
Jim Schubert
b680d7cd7f
[kotlin] Fixing merge conflict and re-running CI for #4565 ( #4977 )
...
* [fix-kotlinArrayEnumEmbedded] fix embedded enum array
* Add new gen props to bin/ci/kotlin-client-string.json
Co-authored-by: nekkiy <hard-t@mail.ru>
2020-01-11 20:52:45 -05:00
Jim Schubert
78bf3adc4a
[core] Initial FeatureSet structures and definitions ( #3614 )
...
[core] Initial FeatureSet structures and definitions
Add default feature set to DefaultCodegen
Initial FeatureSet definitions for:
* ada
* android
* apache2
* asciidoc
* aspnetcore
* avro
* bash
* c
* clojure
* cpp-pistache-server
* cpp-qt5-client
* cpp-qt5-qhttpengine-server
* cpp-restbed-server
* cpp-restsdk
* cpp-tizen
* csharp
* csharp-nancyfx
* csharp-netcore
* cwiki
* dart
* eiffel
* elixir
* elm
* erlang
* flash
* fsharp-functions
* go Client/Server
* graphql-nodejs-express-server
* graphql-schema
* groovy
* haskell
* haskell-http-client
* java
* jmeter
* kotlin
* kotlin vertx
* kotlin-server
* kotlin-spring
* lua
* mysql
* nim
* nodejs
* nodejs-express
* objc
* ocaml
* openapi
* openapi-yaml
* perl
* php
* php-laravel
* php-lumen
* php-silex
* php-slim
* php-symfony
* php-ze-ph
* powershell
* protobuf
* protobuf-schema
* python
* python-aiohttp
* python-blueplanet
* python-experimental
* r
* ror
* ruby
* ruby
* ruby-sinatra
* rust
* scala-akka
* scala-finch
* scala-gatling
* scala-http-client
* scala-lagom
* scala-play
* scalatra
* scalaz
* spring
* static docs
* swift
* typescript
2020-01-11 16:20:47 -05:00
William Cheng
4627c7d534
Add Cisco to the user list ( #4971 )
2020-01-11 10:48:44 +08:00
William Cheng
5e5536367b
comment out php slim4 in ensure-up-to-date
2020-01-11 01:01:42 +08:00