Yimin Lin
70bbee6fc6
Run bin/dart2-petstore.sh to regenerate libraries
2018-08-28 18:14:27 +08:00
Yimin Lin
10309967f4
Added SDK version constraints in pubspec.mustache
2018-08-28 18:10:49 +08:00
Yimin Lin
5feff6b0c9
Update pom.xml
2018-08-28 17:46:32 +08:00
Yimin Lin
9ae0f512e2
Run bin/dart2-petstore.sh to regenerate libraries
2018-08-28 17:40:32 +08:00
Yimin Lin
35d9ccafc6
Fixed missing initialization of postBody
2018-08-28 17:24:46 +08:00
Yimin Lin
37d10cf0a9
Fixed JSON deserialization bugs
2018-08-28 17:11:43 +08:00
Yimin Lin
8be29548e5
Running tests on Dart VM
2018-08-28 14:09:55 +08:00
Yimin Lin
292654c574
Update dart2-petstore.sh
2018-08-28 12:42:39 +08:00
Yimin Lin
e928e227cf
Update petstore tests
2018-08-28 11:30:07 +08:00
Yimin Lin
8118bf6038
supportDart2 option can now be passed through --additional-properties
2018-08-28 11:28:17 +08:00
Yimin Lin
0a9c838711
Update dependencies
2018-08-28 11:19:40 +08:00
Yimin Lin
73c57e8955
Upper constraints on the SDK version
2018-08-28 11:02:05 +08:00
William Cheng
00c5f890f2
fix dart installation
2018-08-24 13:05:29 +08:00
William Cheng
d4c810988a
add dart2 samples, update travis
2018-08-24 11:23:39 +08:00
Yimin Lin
d2ea1d9634
Add an option for Dart2
2018-08-18 01:25:15 +08:00
Rytis Karpuška
1c6ab3f831
Add localVar prefix to parameterized functions variables in cpprestsdk in order to make name clashing less probable. ( #731 )
2018-08-16 18:16:58 +08:00
William Cheng
5ffc297a69
Fix Ruby script path in ensure-up-to-date ( #823 )
...
* fix ruby script path in ensure-up-to-date
* bin/ruby-client-petstore.sh
2018-08-16 13:59:47 +08:00
Victor Orlovsky
e7340bfe5b
[Java][Rest-assured] Fix "invokerPackage" in ApiClient, remove unnecessary @Authorization ( #822 )
2018-08-16 06:15:15 +02:00
William Cheng
ca651becf8
Add support for multi consumes in inline schema ( #789 )
...
* add support for multi consumes in inline schema
* add copyright
* revert redirectTestOutputToFile change in pom.xml
2018-08-16 00:24:19 +08:00
William Cheng
6de09688ad
Add auto-generated readme for cpprestsdk client ( #814 )
...
* add auto-generated readme for cpprestsdk client
* update cpprest client sample
* remove error message from cmake
2018-08-16 00:23:48 +08:00
William Cheng
94806b8036
update release table ( #818 )
2018-08-16 00:23:27 +08:00
Michael Kotten
fa52826c24
[JAXRS-spec] Add option useSwaggerAnnotations ( #813 )
2018-08-15 18:05:47 +02:00
Victor Orlovsky
7b8f51a465
[JAVA][Rest-assured] add more information about operations ( #815 )
...
Add swagger annotations to client and set default baseReqSpec and baseContextConsumer in ApiClient
2018-08-15 17:56:14 +02:00
Jérémie Bresson
79b993e6d5
Prepare version 3.2.2-SNAPSHOT ( #810 )
2018-08-14 13:38:18 +02:00
William Cheng
56bba880e7
3.2.1 release ( #807 )
...
* 3.2.1 release
* roll back incorrect change to link
* update doc
* update 3.1.2 release
* Fix version table
v3.2.1
2018-08-14 17:47:59 +08:00
Jim Schubert
7acba8a4d8
[generator] Cleanup debugOpenAPI usage/display text ( #804 )
2018-08-14 11:45:50 +08:00
Geoff Brown
08ca54d3d5
Fixed date formatting in typescript node client ( #786 )
...
Fixes #785
2018-08-13 19:27:31 +02:00
William Cheng
7b04732f09
better explain usage ( #794 )
2018-08-13 09:30:18 -04:00
William Cheng
b64864f47d
Fix float/double default value in C# generator ( #791 )
...
* fix float/double default value
* better code format
* better CI for openapi3 batch files (C# client)
* update nancyfx samples
* pipe output to /dev/null to reduce log size
* fix windows batch file
* add C# API client generated by OAS3 spec
2018-08-13 13:28:22 +08:00
William Cheng
c237fe9f1c
Enhancements to documentation generators (samples, default values, etc) ( #790 )
...
* enhancements to doc generators (samples, default values, etc)
* add 3.3.x to PR template
2018-08-13 13:27:45 +08:00
Jérémie Bresson
5e1c4cde50
Remove duplicate variable declaration ( #792 )
2018-08-13 13:26:34 +08:00
attrobit
1559c4fadd
Issue 758 root resource ( #771 )
...
* Unit-Test for JavaJAXRSSpecServerCodegen.
* Path generation for primary resource fixed.
* Unit test for toApiName.
* Review-Feedback: blank line removed.
2018-08-12 22:37:19 +08:00
Rytis Karpuška
0cd6d8c139
Do not declare destructor as default when destructor is explicitly declared. ( #732 )
2018-08-12 13:44:07 +02:00
William Cheng
ddb0920fed
Fix C# client enum issue ( #774 )
...
* fix csharp enum issue
* fix numeric enum value
* add docstring to exlain isDataTypeString
* fix docstring by adding return
* fix ToJson in hash model
* remove BaseValidate for map model
* restore csproj file
2018-08-11 11:34:20 +08:00
Akihito Nakano
21777f2759
[JavaScript] Update vulnerable dependencies ( #784 )
...
* Update vulnerable dependencies
* Update samples: javascript-es6
* Update samples: javascript-promise
* Update samples: javascript-promise-es6
* Update samples: javascript
* Update samples: petstore-security-test/javascript
* Rename operationId if it starts with a number
* Update samples
bin/javascript-petstore.sh
bin/javascript-es6-petstore.sh
bin/javascript-promise-petstore.sh
bin/javascript-promise-es6-petstore.sh
2018-08-10 21:50:33 +08:00
Yusuke Iinuma
afdef8f890
[Ruby] Fix method split ( #780 )
...
* Fix methods split for readable
* Recreate sample
2018-08-10 17:25:22 +08:00
Dec12 | Fujigon
d019bbd2c7
[Java][jaxrs-jersey] add sample with jaxrs-jersey + openapi v3 ( #778 )
...
* create sample with "jaxrs-jersey" language & openapi v3
* circle ci setting
* fix typo. also add "jaxrs-jersey" to all samples profile
* artifactId conflicts. rename.
* generate samples with "./bin/openapi3/jaxrs-jersey-petstore.sh"
2018-08-10 17:24:24 +08:00
William Cheng
748d1d70cb
update groupId in pom ( #779 )
2018-08-10 15:48:19 +08:00
Daniel Miller
987fd77042
[cpp-restsdk] Support multi-line descriptions ( #753 )
...
* Update IndentedLambda to take optional prefix
* Add `multiline_comment_4` to CppRestSdkClient
* Update cpp-restsdk example
2018-08-09 19:01:15 -04:00
antihax
a0984a9be8
[Core] Resolve Inline Models ( #736 )
...
* Add InlineModelResolver.java
* fix inline schema for OAS2 body parameter
* skip warning, fix MapSchema cast error
2018-08-09 23:27:51 +08:00
Jim Schubert
9920c435ca
[gradle] Support nullable system property values ( #764 )
...
The gradle plugin sets all System properties before generation, then
reverts them back to their original state.
System.getProperty/setProperty return null if the property was not
previously set. The Kotlin map was defined with non-nullable key/value
constraints, so setting something not commonly set (modelDocs: "false")
would result in an runtime exception.
This changes the map to support nullable values, and rather than setting
a null System property at the end, it clears those which previously had
no value.
2018-08-09 15:56:15 +08:00
David Webster
4060fcbb8b
Correct URL for openapi-generator.cli.sh in README.md ( #770 )
2018-08-09 10:42:11 +08:00
Rubén Martínez
d0ccac5663
Fixed the generation of model properties whose data type is a composed (allOf) schema ( #704 )
...
* #582 Fixed the generation of model properties whose data type is a composed (allOf) schema. Before this fix, the data type name of the generated property was that of the first model participating in the allOf clause. After this fix the property data type is again as expected: the one of the composed schema and not one of its parents.
* Added unit test in order to have regression testing in the fix for the #582 issue (references to composed schemas should not get unaliased for them to get a proper data type name in the generation of model properties).
* Run ./bin/utils/ensure-up-to-date to re-generate samples run in the CI.
* Removed tabs from ModelUtilsTest.java
2018-08-08 13:06:42 -04:00
William Cheng
06263d7606
[JAX-RS][Spec] Add samples to CircleCI ( #759 )
...
* test jaxrs spec server petstore in circleci
* remove duplicated entries in pom
* trigger build failure
* Revert "trigger build failure"
This reverts commit 35ac96ed4a .
2018-08-08 11:50:33 +08:00
William Cheng
3245c0a139
minor update to python generator usage ( #762 )
2018-08-08 11:21:34 +08:00
stkrwork
0809d8f527
[C++][Restbed/Pistache] Added fix for byte array ( #752 )
...
* Added fix for byte array
* Fix spacing
* Adapted default value for ByteArray
* Adapted default value for ByteArray in Pistache Server
2018-08-07 17:07:05 +02:00
sunn
baf16cf834
[cpp pistache] use model namespace only on Model import ( #733 )
...
Don't use model namespaces when not imported
2018-08-07 15:19:56 +02:00
Dec12 | Fujigon
629608c573
[jaxrs-spec*] samples should be tested. repair import and dependency. ( #755 )
...
* sample server projects "jaxrs-spec", "jaxrs-spec-interface", and "jaxrs-spec-interface-response" should be tested
* update jax-rs api to 2.1, in which @PATCH annotation is available
add jackson annotation dependency
* add joda-time to dependency
* modify mustache template to add @JsonCreate, @JsonValue import
* fix return type of enum value() method
* add InputStream import
* Attachment class is in apache cxf. spec should not depend on it
* re-generate sample jaxrs-spec, jaxrs-spec-interface, and jaxrs-spec-interface-response
2018-08-07 16:45:09 +08:00
sunn
e143214685
[cpp pistache] fix leading number in model names and apply modelNamePrefix in all cases ( #730 )
...
* Fix numbers in nameInCamelCase. Add possibility to prefix Names to avoid conflicts
* Allow unique prefixing for template functions as well
2018-08-06 22:22:22 +02:00
William Cheng
2340d83a33
add 3.3.0 to readme
2018-08-07 01:39:54 +08:00