* Revert "Disable rust-reqwest petstore test"
This reverts commit 9e1cce2e7b.
* Revert "Fix various CI issues (#1722)"
This reverts commit 77270a0118.
* Revert "[Rust] Support formParams and fix list-params. (#1678)"
This reverts commit 4a494b45d3.
* [Rust] Support formParams and fix list-params.
Form params were previously unsupported, and list-params would produce code that didn't compile.
* update rust samples
* [csharp-refactor] Minor changes to JSON mime usage
🐎 This maeks the regex static to reduce GC overhead for active clients.
This also removes the lowercase call on the mimetype before evaluating,
as the regex already uses the inline modifier for case insensitivity.
* [csharp-refactor] Regenerate sample
* [Swift] Update Alamofire version and update tests and Swift version to 4.2 for default and RxSwift variants
* Update promiseKit for Swift 4.0
* Update project files.
* Merge branch 'master' of https://github.com/OpenAPITools/openapi-generator into OpenAPITools-master
# Conflicts:
# samples/client/petstore/swift4/default/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj
* Merge in latest master
* Remove typo in bash file
* Update model.mustache
fix serializable import for cxf-cdi
* Update pojo.mustache
add implements to the pojo if isSerializable is true
* Update model.mustache
add import statement to fix compile issue when {{#serializableModel}} is true
* Update pojo.mustache
remove extra space to prevent unecessary diffs in petstore examples: diff --git a/samples/server/petstore/jaxrs-cxf/src/gen/java/org/openapitools/model/*
* Add Model.build_from_hash
* Use Model.build_from_hash instead of Model.new.build_from_hash
* Update sample for ruby-client
* Update sample for openapi3 ruby-client
* Generator erlang-proper
Used to generate PropEr generators for property-based testing
* Rearrange *_statem.erl functions and remove *_statem.hrl
* Optional weight function
* Optional argument to override generated values
* Export function with arity 1
* Move syntactic sugar to header file
* Only provide body when its allowed
* The weight function should not depend on the state
* Fix escaped regex values in Python client (#1517).
* Override PythonClientCodegen toRegularExpression() method to correct
issue with backslashes being escaped. This issue was a result of
calling escapeText() in the parent DefaultCodegen class.
* Only escape unescaped forward slashes in PythonClientCodegen.
* Override addRegularExpressionDelimiter in PythonClientCodegen.java
such that only unescaped forward slashes in the pattern get escaped.
* Adds a new test resource .yaml file for specifically testing this
issue.
* Check for regular expression modifiers in PythonClientCodegen.
* Adds check in postProcessPattern() in PythonClientCodegen.java to
check if regular expression has modifiers defined. If so, it throws an
exception as modifiers are not currently supported in the Python
client.
* PythonClientCodegen warns that regex modifiers are not supported.
* Changes behavior in PythonClientCodegen.java to no longer throw an
IllegalArgumentException in the case that a pattern contains
modifiers. A warning message will be logged instead stating that
modifiers are not currently supported by the codegen class.
* Remove warning for PythonClientCodegen regex modifier support.
* Removes warning message from PythonClientCodegen.java stating that
regular expression modifiers are not currently supported. Further
code review and testing revealed that this feature is already
supported and working.
* Add updated Python client sample files.
Fixes#1696
An object schema containing no properties that also has additionalProperties
set to an object schema with no properties will cause
ModelUtils.isFreeFormObject to throw an NPE.
This PR adds additional checking to avoid the NPE.
* [Typescript][Fetch] Always initialize queryParameters
* [Typescript][Fetch] Resolve date and date-time formats to parameter type Date
* [Typescript][Fetch] Update models template
- Add `readonly` modifier to readOnly parameters.
- Omit readOnly parameters from requests when serializing models
- Use allVars in models template when serializing/deserializing requests
* [Typescript][Fetch] Omit time component when parameter format: date
* [Typescript][Fetch] Add moduleResolution: node option to tsconfig.json
* [Typescript][Fetch] Added non-model enums
* change folder structure for external and added list as primitive type
* modified gitignore for C generator
* change include statement as per directory structure
* added projectname variable for using in cmakelists
* modified cmakefile:compile files irrespective of testfiles and add support for make install
* updated readme with how to compile and how to use
* CMakeLists change curl to 7.58.0
* fix indentation
* add remove as reserved word
* Add GraphQL express/apollo server generator
* add basic resolvers; adjust parameters/input types
* small adjustments and improvements
* adjust logger config for GraphQL generators
* remove MaxPermSize form bash script as it will be removed from later Java versions; add isNullable utility helper method; Adjust TODOs for graphql implementation
* re-created samples for graphql config and server generators
* re-added templates for graphql config generator
* add graphql-config-petstore bash script
* add isNullable utility method
* fix javadoc issues
* adjust licence headers
* rename Generator to Codegen for GraphQL classes
* renaming, minor enhancement to graphql generator
* add graphql server samples
* add windows batch files, rename directory
* Ensure that generic JSON bodies are correctly autogenerated
Generates valid Rust for an arbitrary JSON response body of type `object` with no other schema.