Matiss
dcc622d374
Improve Symfony 4.1 compatibility ( #830 )
2018-08-20 12:11:33 +08:00
Tino Fuhrmann
3b9de3baa3
Added server variable support ( #816 )
...
* Added server variable support
* Replaced tabs with 4 spaces
2018-08-19 17:45:55 +08:00
William Cheng
d593988e5d
fix erlang optiona/required parameters ( #829 )
2018-08-19 14:52:21 +08:00
Victor Orlovsky
0191210145
[Java][Rest-assured] Fix generated javadoc and "swagger-annotations" improvement ( #831 )
...
Added "@Api" swagger annotation, "nickname" for ApiOperation.
Fixed javadock for rest-assured client.
2018-08-17 18:15:02 +02:00
William Cheng
0f30a052b2
Add an option to skip "form" model generation ( #700 )
...
* add option to generate all models
* update doc
* rename option to skipFormModel
* update petstore samples
* Update doc
* Update samples
2018-08-17 17:22:30 +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
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
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
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
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
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
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
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
90a8b81728
Prepare 3.2.1-SNAPSHOT release ( #748 )
...
* prepare 3.2.1 SNAPSHOT release
* update doc to use 3.2.0 stable version
2018-08-07 01:31:37 +08:00
William Cheng
f329872ce7
3.2.0 release ( #744 )
2018-08-06 22:06:39 +08:00
Alexey Alekhin
05db32fea2
[Elm] Template improvements ( #661 )
...
* Add elm template parameter to the samples testing script
* Update elm-date-extra package; fixes #458
* Update generated elm samples
* Use Elm doc comments; remove some unneccessary newlines
* Update generated Elm samples
* Remove unnecessary parenthesis around non-optional container type
2018-08-06 18:17:59 +08:00
William Cheng
c116c8fb9b
[PHP] Decommission "packagePath", add new option "packageName" ( #681 )
...
* remove packagePath from php file location, use -o instead
* fix php symfony top folder
* restore pacakgePath
* update php laraavel samples
* remove packagePath from PHP generator
* add new silex files
* update window batch - php silex
* fix openapi3 silex script
2018-08-06 18:10:34 +08:00
William Cheng
1ab4fe43b5
fix petstore security spec to remove validation errors ( #739 )
2018-08-06 17:02:02 +08:00
William Cheng
f6146b212f
[PHP] better operationId handling, add CI for PHP slim server ( #723 )
...
* better operationId handling, add CI for PHP slim
* use spaces instead of tabs
* replace tab with space
* install php
2018-08-03 10:47:54 +08:00
Akihito Nakano
2b429ee43b
[PHP] [Laravel] Fix syntax errors in models ( #721 )
...
* Fix syntax errors in Models
* Update samples
./bin/php-laravel-petstore-server.sh
2018-08-03 10:44:12 +08:00
David van Laatum
a258cf3fc6
#714 prevent throwing another exception if the request fails eg connection reset ( #715 )
...
* prevent throwing another exception if the request fails eg connection reset
* prevent throwing another exception if the request fails eg connection reset
2018-08-03 00:02:09 +08:00
William Cheng
f32398a708
add dockerfile for ror, fix template issue ( #718 )
2018-08-02 22:07:09 +08:00
William Cheng
f0425d77ef
[Ruby] Better handling of operationID starting with a number ( #719 )
...
* better handling of operationId starting with numbers in Ruby
* update Rubocop to use Layout
2018-08-02 22:00:50 +08:00
William Cheng
e0020b41da
underscore classVarName to fix route issue in ROR ( #706 )
2018-08-02 21:42:09 +08:00
William Cheng
375c26ccb3
add option to select db adapter in ror ( #711 )
2018-08-02 13:52:34 +08:00
William Cheng
40024ac72a
[Go] Prefix enum number with _ ( #703 )
...
* prefix enum number with _ in go
* reformat code, use else if
2018-08-02 10:13:01 +08:00
William Cheng
ab08dd1d26
Better handling of operationID starting with numbers ( #691 )
...
* add numeric operationid to test spec
* better handling of operationId in more generators
* fix go toOperationId
* update samples
* update java samples
* update java samples (vertx, webclient)
* update java google api client sample
* fix typo, update OAS3 test spec, update php petstore (oas3)
* defer camelize in operationid
* remove duplicated sanitizeName
2018-08-01 22:31:58 +08:00
William Cheng
21141f682f
Fix Javadoc string error in Java (rest-assured) client ( #702 )
...
* fix docstring
* trigger build failure
* Revert "trigger build failure"
This reverts commit 12cd26f0ca .
* update java samples
2018-08-01 22:13:41 +08:00
Victor Orlovsky
82156b6639
Added constant "httpMethod", "summary" ( #697 )
2018-08-01 12:02:11 +08:00
Jérémie Bresson
3085bf1df5
[typescript] allow $ in var name ( #694 )
2018-07-31 19:36:16 +02:00
Yuriy Belenko
58e0946b1e
[Slim] Add Basic authentication middleware ( #606 )
...
* [Slim] Add Basic Authentication Middleware
User needs to add own implementation to verifyCredentials method in AuthBasic.php.
* [Slim] Update README template
I'm not sure about `middlewareSrcPath` variable. I'll fix it in following PRs
if path is broken.
Hope that notice in README catches attention and most of users will read it.
* Revert "[Slim] Update README template"
This reverts commit 204ee02fd8 .
* Revert "[Slim] Add Basic Authentication Middleware"
This reverts commit 6a8e03079a .
* [Slim] Add "tuupola/slim-basic-auth" package
Package "tuupola/slim-basic-auth" 3.1.0 requires PHP 7, that's why I
set it's version to ^3.0.0 in Composer. Minimum version will be
3.0.0-rc.1 which supports PHP 5.5. I've tested build with PHP 7, it
would be nice to check build with PHP 5.5 someday.
* [Slim] Update README template
Not sure about forward slash in path to SlimRouter class. I will fix it
in upcoming PRs if necessary.
* [Slim] Refresh samples
2018-08-01 00:55:30 +08:00
Christoph, René Pardon
f793ac25c7
feat (PHP LARAVEL) 8417: initial PHP-laravel codegen integration ( #574 )
...
* feat (PHP LARAVEL) 8417: initial PHP-laravel codegen integration
* feat (PHP LARAVEL) 8417: code review adjustments
* feat (PHP LARAVEL) 8417: fix typos; add missing files; adjust readme for those unfamilar with laravel to get started quickly
* feat (PHP LARAVEL) 8417: add sample petstore server
* feat (PHP LARAVEL) 8417: adjust route service provdider and model generation
2018-08-01 00:34:33 +08:00