* Add property 'supportAsync' to allow the use of CompletionStage of java8
* Add support for completionStage in play-framework templates
* Add script to generate samples for play-framework async controllers
* Add generated samples for java play framework with asynchronous controllers
* Add missing templates and generate samples
* Remove useless comments from generated samples in play framework async
* Fix ControllerImp template for java play framework
* Add script for java play framework async to general script
* Regenerate java play framework server samples
* Fix missing whitespace
* Fix unnecessary blank lines at imports
* Fix tabulation issue
* Fix tabulation issue in controllers
* Remove blanks from api Imp
* Remove more empty lines
* Add blank between methods
* Remove blanks before call to service method
* Fix some tabulations in java play async templates
* Regenerate samples for java play async
* Mark `not required` swagger properties as optional typescript properties
Properties that aren't required in the swagger contract should be marked as optional typescript properties, i.e. with `?` after their name when they are defined.
* Adding Petstore samples files generated with the optional property change
The commas are invalid syntax and create the error:
```
A problem occurred evaluating project ':client'.
> Could not get unknown property 'testCompile' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
```
* add valid for pojos #4738
* add Valid to imports for pojos #4738
* Do not generate Valid-annotation for Date-types and UUID
* * add Valid-annotation to Containers. #4738
Collection-valued, array-valued and generally Iterable fields and properties may also be decorated with the @Valid annotation. This causes the contents of the iterator to be validated.
Quoted from: http://beanvalidation.org/1.1/spec/
* add equivalent windows-bat-script for jaxrs-cxf-petstore-server.sh
* differences on jaxrs-cxf-generated-classes introduced by other changes (not related to this PR)
* Add constant with API version
* Use semver::Version for ApiVersion
* Go back to API version as a string
* Rust composite services
* Actually use the version from the swagger file
* Add typescript-inversify language
* Add windows script
Add windows script
* Use rxjs instead of rx and encoding only the value of URL parameters
* Remove lodash dependency
Remove lodash dependency
* Readd linux user detail on run-docker script
* Solve import problems
* Remove configuration template
* Add usePromise config's variable
* Align Test to check usePromise config parameter
* Add possibility to receive all the httpResponse
* Better ts-lint on api service
* Update sample client example with new ts-lint
* Update petstore sample with new ts-lint
* [Rust] Implement minimal auth support
This is pretty much the bare minimum needed to get v2 auth working.
This is partly based on the Go implementation.
* [Rust] properly format query string
* [Rust] Improve auth formatting
* [Rust] Regenerate petstore sample
* End use of deprecated openssl method
* Enhance rust-server to use hyper 0.11 to support handling operations asynchronously
The changes are complete and working (at least for microservices tested within Metaswitch). This isn't completely compatible with the (previous/current) synchronous swagger-codegen. Specifically,
* `Client` is no longer `Send + Sync`
* Api implementations used by Server are no longer expected to be `Send + Sync` (which is good, because it's quite hard if `Client` isn't)
* the code to create `Client`s and `Server`s, and hook them into `hyper` or `tokio` is different.
Importantly, though, the business logic itself should be unchanged.
* Re-adds the `basePath` element to all server endpoints. This mean clients and servers can talk to each other again.
* Fix multipart formdata codegen
* Fix up handling of multipart messages
* Fix server -> client multipart message response
* Correct handling of optional file types
* Add authorization header to requests with basic auth
* Add client support for `application/x-www-form-urlencoded`
* Import uuid library if headers use UUID type
* Add BASE_PATH to the server module.
* Wrap client connector
* Support both query and body parameters on the same operation
Prefix path to `inputSpec` with maven's `${project.basedir}`. The codegen-maven-plugin will look inside the current working directory so whether a relative path works or not is depending on where the maven build is invoked from. Using `${project.basedir}` makes the path absolute.
* Small fixes to prevent crash when empty json body is provided.
* Add deleteLater wrapper for pointers passed to user code to prevent memory leak.
* Updates to move Object Wrapper to separate file
* Add Prefix to class name
* Improve JMeter Template:
In CSV DataSet ignore first line as it contains headers
Share CSV for Thread-Group instead of doing it across all threads
Use scheduler
Add variables definable through properties for:
- Rampup
- Duration
- Threads
Drop HttpClient 3.1 customization
Remove in Test Plan Element host and port as they are defined in User
Variables
* Improve JMeter Template : Fix Issue 7773
This comment #7773
As per request update samples
* Small fixes to prevent crash when empty json body is provided.
* cpprest : Add toJson and toHttpContent array support.
* petstore : Run script.
* cpprest : Fix toHttpContent function header.
* petstore : Run script.
* cpprest : Add support for primitive response without enclosing item.
* cpprest : Fix spaces.
* cpprest : Fix build if bodyParam is optional.
* cpprest : Fix vector of vector param.
* Small updates to use utf encoding
Add * operator for ^required
* fix typo
* use URLComponents instead of NSURLComponents
* add encode method for any type
* Add public initializer for modelObject
* change id to _id
* fix APIHelper funcs for array query parameters
* make public to write unit test
* add APIHelperTests
* fix typo
* fix regression
* Check date value before calling to_iso8601
When deserializing a date value the value has to be a string when
calling to_iso8601. Otherwise it fails with a match error due to a
is_binary() guard.
* Fix: to_iso returns tuple with three values.