William Cheng
f1dd44d70c
add tests for item with special characters ( #12757 )
2022-07-03 17:26:12 +08:00
Lazar Prijović
5658397152
[BUG] [CPP-UE4] Fix unique items list codegen ( #12745 )
...
* Fix unique items list codegen for UE4
* Update generator's doc
2022-07-03 17:17:48 +08:00
Lazar Prijović
b372f6424c
Fix codegen for nested container types ( #12747 )
2022-07-02 16:21:20 +08:00
Justin Black
6158274f65
Adds openapi v3.0.3 unit test spec, includes test cases, autogenerates model tests with them ( #12619 )
...
* Adds draft6 tests and python file reader
* Adds processing of multiple files
* Moves test examples into a different component so component schemas can be booleans
* Excludes boolean schema cases and some others that contain patternProperties
* Adds automatic test generation, template not quite working with indentation
* Turns on allOf tests, some failing
* Adds more generated components and tests
* Adds enum tests
* Turns on all of themissing tests
* Adds exclmax and min exclusion reasons
* Adds items test cases
* Adds maximum
* Adds maxItems
* Adds maxLength
* Adds maxProperties
* Adds minimum
* Adds minItems
* Adds minLength
* Adds minProperties
* Adds multipleOf
* Adds not
* Adds oneOf
* Adds pattern
* Adds patternProperties
* Working on properties examples, partial fix for escaped characters
* Further improves example string escaping
* Fixes properties test cases
* Adds draft6 test samples license
* Adds ref
* Finishes ref
* Adds remoteRef
* Adds required
* Improves required testing
* Fixes build error / javadoc warning
* Fixes uniqueItems bug in python-experimental
* Turns all tests back on
* Fixes 2 failing tests, all python tests pass
* Fixes java npe errors
* Fixes formatting of tests, indentation fixed
* Test fase name fixed to toTestCaseName, docstring added to ObjectWithTypeBooleans
* Fixes typo
* Adds test deletion to samples generation, samples regenerated
* Updates python-exp unit test sample, includes new ref examples
2022-07-01 13:46:02 -07:00
William Cheng
4cf58f5886
support enum integers in powershell client ( #12752 )
2022-07-01 13:52:47 +08:00
William Cheng
d0a0b822d6
[csharp-netcore] Add support for ComVisible, CLSCompliant attributes ( #12733 )
...
* add support for ComVisible, CLSCompliant attributes in csharp-netcore clients
* fix import
2022-07-01 13:51:29 +08:00
Anakael
280de38de9
[csharp-netcore] fix: url escaping ( #12739 )
...
* fix: url escaping
* doc: add Polly to dependencies
* Revert "doc: add Polly to dependencies"
This reverts commit 29b95ed2c42455e970ac806149c7602980be8f2f.
2022-06-30 23:10:17 +08:00
William Cheng
c982421495
[Go] use EqualFold instead instead of comparing strings in lower case ( #12741 )
...
* use EqualFold instead in the go client
* update samples
2022-06-30 23:09:10 +08:00
Bogdan Ilchyshyn
3a2bbbb850
support error handling in middleware ( #12716 )
2022-06-29 07:59:51 +02:00
William Cheng
0232d1cd00
add toString method to oneOf/anyOf objects ( #12727 )
2022-06-29 11:01:56 +08:00
William Cheng
3feb11acbb
fix nested oneof, fix toStringJSON ( #12723 )
2022-06-28 23:43:56 +08:00
anttikarhu
05ae49698f
Idea plugin for marking source directories, and omitting gradle wrapper ( #12711 )
...
* Idea plugin for marking source directories, and omitting gradle wrapper for creating sub projects
* Register the omitGradleWrapper option
* Added missing idea option
2022-06-28 16:06:10 +01:00
William Cheng
5cb66a8ab0
[R] Fix empty variable name, fix post process model ( #12708 )
...
* fix empty variable name, fix post process model
* fix empty base name
2022-06-27 19:26:51 +08:00
William Cheng
9522f6d1e2
add toString method in models ( #12706 )
2022-06-27 19:26:35 +08:00
Bogdan Ilchyshyn
55d9231ca9
using import type instead of import for types imports ( #12534 )
2022-06-26 09:24:13 +02:00
William Cheng
726765af50
improve r documentation, readme, code sample ( #12700 )
2022-06-26 15:15:22 +08:00
Daniel Metzner
3b15bb8a4e
[PHP] Enhance Symfony generator ( #12532 )
...
* Enhance Symfony generator
- Add missing typehints
- Add missing use statements
- Simplify model ctor
- Change fallthrough Exception to Throwable
- prevent storing result of void methods
- fix validate method
- add default null values to model properties
- simplify API interface return values
- fix/rework default value implementation
- fix optional params deprecation warnings
- ..
For more details check out the PR: https://github.com/OpenAPITools/openapi-generator/pull/12532
* Enhance Symfony generator Tests
- Skip risky tests
- Fix type hint error
- Fix class exists tests
- Fix broken doc block
- Enhance annotations
- Update phpunit.xml.dist
- Fix test config resource location
2022-06-25 20:53:21 +08:00
William Cheng
286a31c019
Update jackson databind to 2.12.6.1 ( #12698 )
...
* update jackson databind to newer version
* update version
* fix retrofit2
* fix rest assured jackson samples
2022-06-25 20:30:41 +08:00
William Cheng
e4b78dbbd8
[R] minify json in toJSON ( #12699 )
...
* minify json in toJSON
* update fromjson with better variable naming
2022-06-25 18:11:25 +08:00
William Cheng
29ea48ee96
update jackson-databind-nullable to 0.2.3 ( #12693 )
2022-06-25 12:45:17 +08:00
Jochen Reinhardt
88ae36eec0
#12656 fix HTML-escaped token and authorization URLs in Java based libraries ( #12677 )
2022-06-25 10:21:14 +08:00
jld3103
2c9bd4a28f
Put null values into serialized output in dart2 generator ( #12569 )
...
* Put null values into serialized output in dart2 generator
* Update samples
2022-06-25 10:07:00 +08:00
William Cheng
52452750c0
add test for anytype in cpp qt client
2022-06-25 10:05:01 +08:00
Daniel Renninghoff
c1b8780fff
[cpp-qt-client] Replace AnyType with QJsonValue ( #12642 )
2022-06-25 09:40:28 +08:00
William Cheng
22ea4a60a1
update readme to refer to 13.0.1 newtonsoft json ( #12689 )
2022-06-24 22:20:39 +08:00
William Cheng
91bc8b41c4
update resteasy lib to newer version ( #12688 )
2022-06-24 22:20:20 +08:00
William Cheng
f5e701c459
update r api doc ( #12679 )
2022-06-24 10:39:48 +08:00
William Cheng
c3970d7348
update r model doc ( #12676 )
2022-06-23 20:47:12 +08:00
William Cheng
7d768f2535
[R] add error object type support ( #12402 )
...
* use rlang as exception in the petstore test
* add errorObject support
* fix method name, use ModelApiRespeonse
* update samples
* update doc
* fix api exception
2022-06-23 13:45:05 +08:00
Eric Durand-Tremblay
c38d825a89
[BUG] Issue 10792 Kotlin generator produces invalid code when allOf is used ( #12594 )
...
* Step to reproduces
* Fix isMap detection for kotlin codegen
Co-authored-by: Eric Durand-Tremblay <etremblay@kronostechnologies.com>
2022-06-22 21:31:16 +01:00
Yartsev
75b883c5a5
OkHttpClient - fix enum properties in requests ( #12661 )
...
* OkHttpClient - fix enum properties in requests
* Has been committed the generated code
Co-authored-by: Mikhail Yartsev <mihail.yartsev@lamoda.ru>
2022-06-22 21:29:12 +01:00
Danni Stjernegård
b1ea0f3af3
[swift5] Make it possible to opt out of JSONEncodable conformance ( #12664 )
...
* Make it possible to opt out of JSONEncodable conformance
JSONEncodable is not a native type and does not exist if only models are generated.
* Match file indentation level
2022-06-22 17:22:14 +01:00
William Cheng
012f90895f
add doc to api exception, response object in R client ( #12659 )
2022-06-22 16:47:27 +08:00
William Cheng
a599ae927f
fix deserialization for r model with special item name ( #12658 )
2022-06-22 15:06:56 +08:00
William Cheng
f2cc3b8611
fix roxygen warnings in oneof, anyof, api_client ( #12654 )
2022-06-21 16:35:24 +08:00
William Cheng
042f717352
[R] escape item reserved words in model items ( #12653 )
...
* fix item reserved words
* add comment
* add log
2022-06-21 11:42:27 +08:00
William Cheng
1f7a49539f
update roxygen to newer version ( #12652 )
2022-06-21 09:59:18 +08:00
William Cheng
f29fdab33d
update constructor for r oneof, anyof objects ( #12643 )
2022-06-21 09:25:54 +08:00
Oleh Kurpiak
1440a68974
[Java][Jersey/Native/okhttp] don't override x-implements ( #12410 )
2022-06-20 17:02:27 +08:00
William Cheng
995f7ced13
Fix bugs in camelcase lambda, add tests for pascalcase ( #12639 )
...
* fix bugs in lambda, add tests for pascalcase
* add tests for empty string to confirm no npe
2022-06-20 17:01:19 +08:00
GuyGitzMagen
decb96b98b
fix typescript node default enum ( #12633 )
...
* Default enum value and type are seperated by .
* classname is added to enum default property
2022-06-20 07:47:05 +02:00
Oleh Kurpiak
7b108c2a10
handle wildcard sub content-type ( #12469 )
2022-06-19 23:20:57 +08:00
William Cheng
c26ac3f8a3
add documentations to r oneof, anyof ( #12638 )
2022-06-19 23:19:55 +08:00
Tomasz Janiszewski
0140f84f80
Keep AST small when usign builder ( #12610 )
2022-06-17 15:14:48 +08:00
Hui Yu
bcb5f55a2d
[C][Client] Set the default value for the null json ( #12620 )
2022-06-17 15:01:33 +08:00
Jorge Rodríguez Martín
8b7736501d
Fix cookies in parameters are always generated as required ( #12599 )
...
* Fix cookies in parameters are always generated as required
* Fix cookies in parameters are always generated as required
2022-06-16 17:50:16 +08:00
William Cheng
3143390d59
[java][okhttp-gson] Add streaming support in group parameters ( #12601 )
...
* add streaming support in group paramters
* add tests
2022-06-16 16:20:32 +08:00
Loïc Ledoyen
3ec15740f5
[JAVA][Feign] Remove camelCase naming for form parameters ( #12587 )
2022-06-15 15:50:07 +08:00
William Cheng
bd6617b3e7
Better null check for encoding ( #12597 )
...
* better null check for encoding
* add tests
* update samples
2022-06-15 15:49:30 +08:00
Marley
6be94becee
[ts-angular]: added ts-ignore directive to addToHttpParams
to avoid compilation errors ( #12591 )
...
* [ts-angular]: added ts-ignore directive to `addToHttpParams` to avoid compilation errors
* updated samples
2022-06-14 13:18:39 +02:00