Bruno Medeiros
ca80fcd03e
fix(ktor-client): do not add jsonBlock if using kotlinx-serialization ( #15793 )
...
* fix(ktor-client): do not add jsonBlock if using kotlinx-serialization
* update existing templates
* add new kotlin-jvm-ktor-kotlinx_serialization
* add new kotlin-jvm-ktor-kotlinx_serialization to samples-kotlin-client.yaml pipeline
actually, kotlin-jvm-ktor-gson was duplicated, so I'm replacing the second one by kotlin-jvm-ktor-kotlinx_serialization
* extra FILES entry in the template
* enumUnknownDefaultCase=false for now since it's currently broken for ktor + kotlinx_serialization
* use openapi 3 petstore
2023-06-11 20:45:20 +08:00
devhl-labs
9b305318b4
[abstract-csharp] Begin removing netcore references ( #15805 )
...
* find and replace CSharpNetCoreClientCodegen
* find and replace CsharpNetcoreFunctionsServerCodegen
* find and replace CSharpNetCoreReducedClientCodegen
* find and replace AspNetCoreServerCodegen
* renamed generators
* find and replace CSharpNetCoreClientCodegenTest
* find and replace CSharpNetCoreClientDeepObjectTest
* find and replace CsharpNetcoreFunctionsServerCodegenTest
* git mv files
* find and replace CsharpFunctionsServerCodegenTest
* find and replace CsharpModelEnumTest
* git mv CsharpModelEnumTest.java
2023-06-11 17:06:12 +08:00
William Cheng
6788f43af0
Better handling of Inline schema ( #15682 )
...
* skip allOf inline subschema created as $ref
* add option for fallback
* add back atleastonemodel
* add log
* update java, kotlin, js samples
* update tests
* fix native client test
* fix java client errors by regenerating test files
* clean up python
* clean up powershell
* clean up php
* clean up ruby
* update erlang, elixir
* update dart samples
* update ts samples
* update r, go samples
* update perl
* update swift
* add back files
* add back files
* remove outdated test files
* fix test
2023-06-11 15:35:58 +08:00
William Cheng
21748e024a
add py.typed ( #15804 )
2023-06-10 21:48:54 +08:00
Beppe Catanese
f240ed4e4e
[Go] Serialize readonly fields ( #15765 )
...
* Do not skip readOnly fields in ToMap()
* Regenerate sample
* Add test
* Correct test
2023-06-10 19:23:52 +08:00
William Cheng
1fb0ab997f
[Python] fix access_token set to None when constructing Configuration object ( #15802 )
...
* clean up files
* add tests for access_token
* fix bug with access_token
* update test method name
2023-06-10 19:22:02 +08:00
gyoganathan
fc474eab5f
Added BadRequestException as a subclass in python ( #15722 )
...
Co-authored-by: Gomathi Yoganathan <gyoganathan@C02G45FPMD6R.corp.proofpoint.com>
2023-06-10 15:27:18 +08:00
devhl-labs
acc8274528
minor spacing change ( #15801 )
2023-06-10 13:53:46 +08:00
William Cheng
5a7be59967
Update bitrise.io config ( #15789 )
...
* update bitrise.io
* fix build
* avoid using mvn
* remove mvn
* update
* skip
* [swift5][client] fix CI issue cyclic dependency
* trigger build
* comment out vapour
* alarmfire
---------
Co-authored-by: Bruno Coelho <4brunu@gmail.com>
2023-06-09 20:38:27 +08:00
martin-mfg
02790f987e
always use @JacksonXmlElementWrapper and read xml data from referenced schema, updated ( #15115 )
...
* always use @JacksonXmlElementWrapper and read xml data from referenced schema
based on https://github.com/OpenAPITools/openapi-generator/pull/5371
* run generate-samples.sh
* suggestion: remove comment with empty name
2023-06-09 09:19:42 +08:00
James Wynn
d27fa00cf5
fix : #1466 additionalProperties works now in spring generator ( #11572 ) ( fix #1466 )
...
* fix : #1466 additionalProperties works now in spring generator
* chore: chore: #1466 solved rebase conflicts
* 1466; updated samples
* [Spring] update additionalProperties MR
* [Spring] additionalProperties unit test
---------
Co-authored-by: Your Name <benfonty@gmail.com>
Co-authored-by: Oleh Kurpiak <oleh.kurpiak@gmail.com>
2023-06-08 16:38:53 +03:00
martin-mfg
17f1d351bf
[Java][Jaxrs][Resteasy] add @Valid to getter methods, updated ( #15064 )
...
* [JavaJaxrsResteasy] add @Valid to getter methods
* improve whitespacing
---------
Co-authored-by: TNM Technologies <tnmtechnologies@users.noreply.github.com>
2023-06-08 09:43:01 +08:00
martin-mfg
b7f2b723aa
[JAVA] fix toUrlQueryString for BigDecimal ( #15764 )
...
* add MyImportTest.java
* fix original issue
* fix same issue for native library
* remove MyImportTest
* add test configs
* generate samples (again?)
* generate samples again
* generate samples again, undo pom.xml mistake [amended to retrigger circliCi]
2023-06-08 09:34:06 +08:00
Frederic Jones
59ba00e1f3
Add support for swagger2 in [java] client generators ( #15456 )
...
* Add support for swagger2 in java client generator
* Target 7.x.x
* Upstream changes
2023-06-06 15:41:12 +08:00
devhl-labs
e439476e16
removed inheritence ( #15767 )
2023-06-06 10:36:59 +08:00
karzang
bc7bdca87f
support nullable check for OAS 3.1 ( #15698 )
2023-06-05 19:34:51 +08:00
devhl-labs
db3ef134b8
used partial methods for logging ( #15749 )
2023-06-05 14:08:56 +08:00
devhl-labs
4604bf016f
fixed casing ( #15748 )
2023-06-05 14:06:54 +08:00
devhl-labs
e06e2cce69
fixed more warnings and spacing issues ( #15743 )
2023-06-04 16:13:52 +08:00
devhl-labs
e5531c1135
improved spacing ( #15741 )
2023-06-04 16:12:37 +08:00
William Cheng
fbb0d6d935
add a test case for python-fastapi query parameter default value ( #15744 )
2023-06-04 13:37:12 +08:00
devhl-labs
0943e5063a
[csharp-netcore][generichost] Improved spacing ( #15740 )
...
* improved spacing
* addressed comment
2023-06-03 20:05:08 +08:00
Olivier Sechet
65bee03e21
Use gitHost instead of github.com ( #15720 )
2023-06-03 11:08:33 +08:00
devhl-labs
2db7b0b177
removed more more warnings ( #15737 )
2023-06-03 10:51:13 +08:00
William Cheng
421bcd1787
Decommission csharp
client generator ( #15708 )
...
* remove csharp client generator
* update samples/docs
2023-06-02 20:42:29 +08:00
stephanpelikan
0d4e399718
Do JSON serialization only if requested by mime-type ( #13456 ) ( #15676 )
...
* Do JSON serialization only if requested by mime-type (#13456 )
* Refactoring based on feedback to PR (#13456 )
2023-06-01 19:53:24 +02:00
stephanpelikan
3943e97e14
Introduce option 'importFileExtension' to typescript-fetch ( #15439 ) ( #15440 )
2023-06-01 08:49:07 +02:00
Tiffany Marrel
c2f635a330
fix use of isBasic and isBasicBasic and isBasicBearer and isHttpSignature in documentation ( #15443 )
...
* [ada] fix use of isBasic condition
* [apex] fix use of isBasic condition
* [asciidoc] fix use of isBasic condition
* [python] fix use of isBasic condition
* [csharp C#] fix use of isBasic condition
* [htmlDocs] fix use of isBasic condition
* [Ruby] fix use of isBasic condition
* [scala] fix use of isBasic condition
* [julia] fix use of isBasic condition
* [Objective-C objc] fix use of isBasic condition
* [GraphQL] fix use of isBasic condition
* [MarkDown] fix use of isBasic condition
2023-06-01 09:47:00 +08:00
devhl-labs
f769070fa3
removed warnings ( #15706 )
2023-06-01 09:32:21 +08:00
William Cheng
63a311a2e6
update go samples
2023-06-01 09:09:00 +08:00
devhl-labs
1e1e786a72
created partial method to format arguments ( #15677 )
2023-05-31 00:35:50 +08:00
devhl-labs
d7d57e2ea3
fixed null reference exception ( #15680 )
2023-05-31 00:10:39 +08:00
William Cheng
10c270fda6
fix date isinstance check ( #15675 )
2023-05-31 00:03:14 +08:00
William Cheng
8bad27e0ab
update python fastapi server dependencies ( #15650 )
2023-05-29 17:16:15 +08:00
William Cheng
7006b388de
Update go-gin dockerfile to newer version: 1.19 ( #15597 )
...
* update go-gin dockerfile to newer version: 1.19
* add go.sum
* fix
* update go mod
2023-05-29 16:55:14 +08:00
devhl-labs
784c700d37
[csharp] Fix property names ( #13681 )
...
* build samples
* build samples
* commit java changes
* use var as prefix instead of _ for illegal names
* resolved conflict
2023-05-28 13:50:02 +08:00
devhl-labs
29223e0b81
[csharp-netore][generichost] Renamed ToModel to AsModel ( #15662 )
...
* renamed ToModel to AsModel
* build samples again
2023-05-28 11:54:21 +08:00
devhl-labs
9e8805d712
remove-more-null-warnings ( #15664 )
2023-05-28 11:52:44 +08:00
devhl-labs
0350d0e313
fixed example values ( #15666 )
2023-05-28 11:51:14 +08:00
William Cheng
f793d62744
Update dart workflow java version to 11 ( #15660 )
...
* update dart workflow java version
* add clean
* trigger build
2023-05-28 11:21:33 +08:00
devhl-labs
7fc23dd406
fixes a warning ( #15661 )
2023-05-28 11:20:45 +08:00
devhl-labs
4d52bf656e
[csharp-netcore][generichost] Reduce null warnings ( #15656 )
...
* reduced null warnings
* removed null warnings
2023-05-27 12:00:47 +08:00
samypr100
fe6e4e459f
[java] support required nullable properties on java okhttp-gson generator ( #15462 )
...
* Support required nullable properties on java okhttp-gson generator
* regen client after merge
* covering cases
* nullable - true ; required - true
* nullable - false ; required - true
* nullable - true ; required - false
* nullable - false ; required - false
2023-05-26 16:02:48 +03:00
Stefan Koppier
b3b672fdfc
[Kotlin-client][jvm-spring-webclient] Added support for spring boot 3 ( #15646 )
...
* Bumped kotlin spring-jvm-webclient spring boot version from 2.7.11 to 3.1.0
* Do not redefine HttpHeaders and MediaType for simpler code
* Added a simpler constructor to the api and simplified encodeURIComponent
* Added support for Spring Boot 3 in kotlin-client jvm-spring-webclient generator
* Fixed small syntactical regression in Kotlin client build.gradle
2023-05-26 17:07:36 +08:00
William Cheng
4c7963cf54
remove deprecated options in kotlin client generator ( #15651 )
2023-05-26 14:51:55 +08:00
William Cheng
bbb6f4e6a0
[go-server] Update Dockerfile go version to 1.19 ( #15596 )
...
* update dockerfile go version to 1.19
* Update modules/openapi-generator/src/main/resources/go-server/Dockerfile.mustache
Co-authored-by: Ween Jiann <16207788+lwj5@users.noreply.github.com>
* Update modules/openapi-generator/src/main/resources/go-server/Dockerfile.mustache
Co-authored-by: Ween Jiann <16207788+lwj5@users.noreply.github.com>
* update samples
---------
Co-authored-by: Ween Jiann <16207788+lwj5@users.noreply.github.com>
2023-05-26 10:51:07 +08:00
Nikita Vakula
3db7169959
[python-fastapi] Added a base class for the actual implementation ( #14470 )
...
It is very difficult to "merge" the changes, made by code generation,
and the changes, made by developers. It would be very useful to
separate the generated code and the code written by developers. In
addition this would remove the necessity to track the generated code.
Pyhton (since 3.6) has a hook, __init_subclasses__, that could be used
to solve exactly this problem.
The classes from *_base.py should be implemented in an ns package that is specified
by the additional parameter ("-p fastapiImplementationPackage=example_name").
Signed-off-by: Nikita Vakula <programmistov.programmist@gmail.com>
2023-05-26 08:58:39 +08:00
William Cheng
910e463d50
update C# samples
2023-05-26 08:32:10 +08:00
devhl-labs
db795a2c1a
[csharp-netcore] Removed deprecated package ( #15595 )
...
* removed deprecated package
* include the library for older than .net6
2023-05-25 23:37:12 +08:00
William Cheng
1145197fad
Add workflow to tests C# projects with .net 6 ( #15629 )
...
* add workflow to tests C# projects with dotnet 6
* trigger build
* fix cmd
2023-05-25 21:06:51 +08:00