William Cheng
fe9121967f
fix shippable errors ( #4775 )
2019-12-12 12:00:05 +08:00
William Cheng
3e34903042
Merge remote-tracking branch 'origin/master' into 4.3.x
2019-12-11 15:44:50 +08:00
patrickcisco
21ad2869b1
fixing an issue where serverPort from additional-properties is interpreted as a string... causing the default to always be used ( #4764 )
2019-12-11 14:04:15 +08:00
Sai Giridhar P
9754ef4f88
fix(r): Fixing the exports ( #4761 )
2019-12-11 11:24:12 +08:00
Roland Franssen
b19d241be7
[PHP] ensure rewound guzzle response body ( #4744 )
...
* [PHP] ensure rewound guzzle response body
* recompile php client
2019-12-10 21:52:36 +08:00
Erik Timmers
a695748805
Add isCircularReference to properties ( #4553 )
2019-12-10 21:43:16 +08:00
Hui Yu
00abb4780c
change baseName to name to escape the field name of struct when it includes C programming language keyword ( #4735 )
2019-12-10 16:26:33 +08:00
William Cheng
60ba6194c1
add microprofile to CI test ( #4749 )
2019-12-10 15:03:12 +08:00
William Cheng
525174f4d6
Add new files in java microprofile petstore client
2019-12-10 13:44:33 +08:00
William Cheng
f22f6a40a1
Add java microprofile samples
2019-12-10 11:53:23 +08:00
William Cheng
ca9313881a
update doc
2019-12-10 11:52:11 +08:00
Paul Gooderham
a9494ac1a3
[REQ] Java Microprofile REST Client Template ( #4713 )
...
* Add a Java Library called microprofile.
* Fix formatting
2019-12-10 11:41:50 +08:00
Justin Black
307f37c7f9
Updates python and python-flask travis CI testing to use python 3.6, 3.7, and 3.8 ( #4743 )
2019-12-10 11:29:14 +08:00
rbrincke
42f685f59c
Fix multi-part binary array form parameters for Spring Boot and Spring Cloud templates ( #4616 )
...
* Fix multi-part binary array strings
Multi-part binary array strings as outlined in #3139 resulted in `MultipartFile` rather than `List<MultipartFile>`. This PR attempts to resolve this by adjusting the templates.
Two tests have been added: one for `spring-boot` and one for `spring-cloud`.
Resolve #3139
* Fix multipart file name and description
* Handle array of MultipartFile for delegate
* Update samples due to file description being picked up
* Upload result of bin/spring-stubs
2019-12-09 20:59:05 +08:00
Daniel Ruf
5116163bfb
Use correct relative paths ( #4677 )
2019-12-09 15:15:42 +08:00
Michal Hornický
d8c469c19d
[go] Fix multi-value path params in go ( #4664 )
...
* Fix multi-value path params in go
* update oas v3 go petstore sample
2019-12-09 14:44:39 +08:00
William Cheng
68cb98e9f6
Add a link to blog post about Flutter ( #4731 )
...
* Add a link to blog post about Flutter
* change date format
2019-12-09 12:27:05 +08:00
Jim Schubert
ebf9ba023a
[core] Minor schema validations bug + add pattern property to CodegenResponse ( #4724 )
...
* [core] Fix potential mismatch of data due to ClientOptInput and DefaultCodegen#openApi
* [core] Include escaped pattern on CodegenResponse
2019-12-09 12:02:54 +08:00
Yuriy Belenko
41bb41c87c
[Slim4] Update templates to comply PSR-12 coding style ( #4728 )
...
* [Slim4] Bump PHP_CodeSniffer version to 3.5.*
* [Slim4] Update samples
* [Slim4] Update template to meet PSR-12
2019-12-09 11:20:21 +08:00
Christophe Bornet
d405158d3f
Add javadoc to spring API, controller and delegate ( #4693 )
...
* Add javadoc to spring API, controller and delegate
* Add response description and code in javadoc
2019-12-09 11:15:57 +08:00
Jérémie Bresson
acc04c5609
[jaxrs-spec][quarkus] update to 1.0.1.FINAL ( #4725 )
2019-12-09 11:14:33 +08:00
Yuriy Belenko
cd6ec0dcf5
Update PHP coding style link ( #4727 )
...
* [PHP] Update PHP coding style link
* [PHP] Update website doc
2019-12-09 11:13:20 +08:00
William Cheng
85affe83cb
add linode logo ( #4730 )
2019-12-09 10:58:16 +08:00
Jim Schubert
0c0050578f
User feedback on confusing use of oneOf ( #4695 )
...
OAS 3.x specification isn't entirely clear on oneOf support. JSON Schema
defines oneOf in such a way that the Schema is only valid if it
validates against exactly one of the referenced Schemas. This suggests
that a Schema defined with oneOf can't include additional "dynamic"
properties. OpenAPI extends on this by adding the necessary
discriminator object, which allows tooling to decide the intended
Schema.
As tooling, openapi-generator may support loose or confusing definitions
in the Specification to better support our user's use cases. In this
case, we may warn that while this usage is technically valid the two
target specifications are unclear about the actual constraints regarding
oneOf.
2019-12-07 11:27:29 -05:00
Phillip Campbell
6b99aed93f
Add Linode as a user of OpenAPI Generator ( #4720 )
2019-12-07 16:31:30 +08:00
Sami Jaber
da44e458e0
typescript-fetch: Fix compatibility with noImplicitAny TS rule ( #4711 )
...
* Fix compatibility with noImplicitAny TS rule (required with CRNA app)
* new file added with bin/typescript-fetch-petstore.sh
* missing files with bin/typescript-fetch-petstore-all.sh
* Update modules/openapi-generator/src/main/resources/typescript-fetch/runtime.mustache
Co-Authored-By: Esteban Gehring <esteban.gehring@gmail.com>
* Update modules/openapi-generator/src/main/resources/typescript-fetch/runtime.mustache
Co-Authored-By: Esteban Gehring <esteban.gehring@gmail.com>
* Update modules/openapi-generator/src/main/resources/typescript-fetch/runtime.mustache
Co-Authored-By: Esteban Gehring <esteban.gehring@gmail.com>
* Update modules/openapi-generator/src/main/resources/typescript-fetch/runtime.mustache
Co-Authored-By: Esteban Gehring <esteban.gehring@gmail.com>
* changed files after bin/typescript-fetch-petstore-all.sh
* re-generate samples, fix windows typescript fetch script
2019-12-06 14:17:46 +01:00
sullis
775cf655f9
mockito 3.2.0 ( #4714 )
2019-12-06 17:38:36 +08:00
Alexander Eggers
467fb74a21
Added support for consuming OpenApi 3.0 nullable required fields ( #4696 )
2019-12-06 00:05:03 +08:00
Toby Murray
4dc07cb9c5
Add Embotics as a user of OpenAPI generator ( #4704 )
2019-12-06 00:03:01 +08:00
Vadim Markovtsev
8d8eea4fe9
Fix typo aiohtpp -> aiohttp ( #4709 )
2019-12-06 00:02:43 +08:00
mosesonline
f472020412
typescript-node: handle additional properties ( #4699 )
...
* add handling additional properties into typescript node
* additional tests
* petscripts
* Update modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/TypeScriptNodeClientCodegen.java
Co-Authored-By: Esteban Gehring <esteban.gehring@gmail.com>
* Update modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/TypeScriptNodeClientCodegen.java
Co-Authored-By: Esteban Gehring <esteban.gehring@gmail.com>
2019-12-05 12:58:12 +01:00
William Cheng
d0dfe3e4a0
fix sponsor image size ( #4697 )
2019-12-04 17:34:42 +08:00
djnalluri
cb31089664
[typescript-angular] Support text response types ( #4617 )
...
* [typescript-angular] responseType based on Accept header.
* [typescript-angular] Generate sample client code.
* [typescript-angular] Use in-line param to HttpClient.
* [typescript-angular] Fix CI check.
* [typescript-angular] Remove files introduced by running /bin/openapi3 scripts.
* [typescript-angular] Apply suggestions from code review
Co-Authored-By: Esteban Gehring <esteban.gehring@gmail.com>
* [typescript-angular] Default responseType = 'json'
* [typescript-angular] Fix potential NPE
* [typescript-angular] Remove type checking on responseType.
* [typescript-angular] Update samples.
2019-12-04 10:25:35 +01:00
William Cheng
acf081bc02
add docspring image
2019-12-04 16:40:01 +08:00
Jiri Kuncar
dce392336d
[Go] Add multiple servers support to Go(-experimental) client ( #4635 )
...
* [Go] Add multiple servers support to Go-experimental client
* [Go] Use same configuration in go and go-experimental
* [Go] Use Replace -1 instead of ReplaceAll
* [Go] Fix typo and add bound check
* [Go] Regenerate missing templates
2019-12-04 16:27:30 +08:00
William Cheng
5453edf1b6
Add a blog post to qiita ( #4694 )
2019-12-04 12:15:23 +08:00
William Cheng
a3c3012707
Update README.md
2019-12-04 12:12:54 +08:00
Justin Black
c882338ef1
[Java/Core] Adds properties to ComposedSchema models when they exist ( #4482 )
...
* Adds comment in java test where we need to check the fruit model
* Adds oneOf test to DefaultCodegenTest.java, adds code to include properties in composed schema
2019-12-03 21:43:24 -05:00
William Cheng
e774db05b6
Regenerate hashCode, equals, toString ( #4648 )
...
* update hashCode, equals, toString in CodegenParameter
* update equals, hashCode, toString in CodegenProperty
* update toString, hashCode, equals in CodegenOperation
* update toString, hashCode, equals in CodegenResponse
* update toString, hashCode, equals in CodegenSecurity
* update hashCode, toString, equals in CodegenModel
* add hashCode, toString, equals to CodegenServer and more
* update hashCode, equals, toString in CodegenDiscriminator
* update testS
* update samples
2019-12-04 10:07:33 +08:00
Jorge Rodriguez
06ba8317f9
Error in the reactive client when the path variables are a list ( #4687 ) ( #4689 )
...
* Error in the reactive client when the path variables are a list (#4687 )
* Update samples (#4687 )
2019-12-04 10:06:42 +08:00
Ramanth Addala
e0d6f7df1f
fix(r): fixing serializatin bug in empty json array ( #4667 )
...
* fix(r): fixing serializatin bug in empty json array
* fix(r): fixing serializatin bug in empty json array
2019-12-04 09:53:54 +08:00
Hui Yu
01e84d79a0
Update the condition to free apiClient->apiKeys ( #4685 )
2019-12-04 09:53:12 +08:00
Thibault Duperron
7eeeab0825
Add space to spring doc ( #4674 )
...
* Add space to spring doc
* Remove fsharp change
2019-12-04 09:43:36 +08:00
William Cheng
cb2df9e848
add docspring as sponsor ( #4686 )
2019-12-04 09:41:55 +08:00
William Cheng
2a592b5d01
Update Swift technical committee
2019-12-04 09:39:14 +08:00
William Cheng
dd1a624ba3
Add a link to blog post in dotnetthoughts ( #4683 )
2019-12-03 21:55:28 +08:00
Oleh Kurpiak
ba3af50384
[ #4025 ] custom java annotations ( #4026 )
...
* custom java annotations
2019-12-03 08:09:39 -05:00
jens-carbon
663ee66068
[typescript-node]: Add support for nullable ( #4670 )
2019-12-03 13:33:48 +01:00
William Cheng
11c7007429
Prepare v4.2.3 ( #4663 )
...
* update version
* update doc
* update samples
2019-12-02 15:26:01 +08:00
William Cheng
f9662e0eff
release 4.2.2 ( #4661 )
v4.2.2
2019-12-02 13:12:10 +08:00