devhl-labs
2db7b0b177
removed more more warnings ( #15737 )
2023-06-03 10:51:13 +08:00
Stefan Koppier
f0a624a135
Documentation update ( #15728 )
...
* Updated Gradle documentation examples to use correct non-deprecated .set(x) syntax instead of directly assigning
* Updated more Gradle documentation examples to use correct non-deprecated .set(x) syntax instead of directly assigning
* Updated documentation to use Java 11 instead of Java 8
2023-06-02 20:59:18 +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
William Cheng
7466d06b89
fix property name comparison in C# ( #15697 )
2023-06-02 20:42:12 +08:00
devhl-labs
f331cb0695
removed more hotfixes ( #15723 )
2023-06-02 16:42:39 +08:00
William Cheng
eb41941872
set mvnw to 3.8.8 ( #15724 )
2023-06-02 11:33:17 +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
William Cheng
9c611b826b
update readme to use maven wrapper ( #15711 )
2023-06-02 00:44:06 +08:00
William Cheng
fc76944e19
Update maven plugins, use maven 3.8.8 in CI ( #15713 )
...
* update maven pom.xml, use 3.9.2 in CI
* use maven 3.8.8
* use variable
2023-06-02 00:30:06 +08:00
stephanpelikan
3943e97e14
Introduce option 'importFileExtension' to typescript-fetch ( #15439 ) ( #15440 )
2023-06-01 08:49:07 +02:00
Peter Lamby
6504eafddb
[BUG][typescript-fetch] fix npe when debuggingModels ( #15577 ) ( #15578 )
2023-06-01 08:33:29 +02:00
Tiffany Marrel
e593591401
cleanup new generator documentation ( #15359 )
...
* align wording across generators
* add missing authentication schemes from README of new generators
* fix anchor links in new generator documentation
2023-06-01 11:17:11 +08: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
Chris McEvoy
5fae4f5d93
add go api key example in README.md ( #15705 )
2023-06-01 09:01:21 +08:00
devhl-labs
3ee2eeedba
removed hotfix ( #15703 )
2023-06-01 08:49:22 +08:00
William Cheng
c8a1607b9f
rename ts codegen method ( #15696 )
2023-06-01 00:24:40 +08:00
William Cheng
4d4477e368
update maven wrapper to 3.9.0 ( #15694 )
2023-06-01 00:24:20 +08:00
William Cheng
1ad8316a9d
minor updates to readme ( #15700 )
2023-06-01 00:22:43 +08:00
Ross Bender
1561c33966
[JAVA] Generate client files with multiple enum oneOf
types ( #12687 )
...
* handle multiple enum types for oneof
* add updates from generate-samples.sh
* add test coverage for oneof enum generation
* update doc and var names for clarity
2023-05-31 17:28:47 +08:00
Oleh Kurpiak
ff414dd6da
[Spring] Defaulting for Spring HTTP Interface library ( #15689 ) ( fix #15631 )
2023-05-31 11:20:58 +03:00
devhl-labs
0bcf9d8bde
patch all property collections ( #15678 )
2023-05-31 00:36:35 +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
dependabot[bot]
1d5b1b0a8f
Bump actions/setup-dotnet from 3.1.0 to 3.2.0 ( #15679 )
...
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet ) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/actions/setup-dotnet/releases )
- [Commits](https://github.com/actions/setup-dotnet/compare/v3.1.0...v3.2.0 )
---
updated-dependencies:
- dependency-name: actions/setup-dotnet
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-31 00:00:39 +08:00
gonzalad
8a0f374a45
spring: fix spring pageable used without any config ( #15113 ) ( fix #13052 )
...
* spring: fix spring pageable used without any config
Spring Pageable is imported whenever we have an API with
a Pageable Json schema, even if x-spring-paginated is not
set.
This commit imports Spring Pageable only if
x-spring-paginated is set to true.
* spring: add unit test for pageable fix
* spring: fix spring pageable feedback from review
remove unrelated example
---------
Co-authored-by: gonzalad <gonzalad@users.noreply.github.com>
2023-05-30 08:42:33 +03: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
Stephan Strate
8e2fa826e5
[kotlin-server] cleanup KotlinServerCodegen configuration ( #15653 )
2023-05-29 15:58:08 +08:00
William Cheng
431cc2ec8e
Fix bugs (string comparison) in csharp generators ( #15663 )
...
* fix bugs in csharp generators
* undo change
2023-05-29 15:17:54 +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
William Cheng
e4bf068a88
Update swagger parser to 2.1.14 ( #15644 )
...
* update swagger parser to 2.1.14
* minor fix, update tests
2023-05-27 22:55:56 +08:00
William Cheng
5afa33980c
Add tests for Dockerfile, run-in-docker.sh ( #15657 )
...
* add tests for docker, run-in-docker.sh
* remove it
* use 11
* more tests
* trigger build failure
* Revert "trigger build failure"
This reverts commit 47fb248ca01d89b7376236102656b0879e38e2cf.
* fix build
2023-05-27 13:39:10 +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
Austin Ziegler
af917f8865
Fix run-in-docker.sh for JDK 11+ ( #15655 )
...
OpenAPI Generator 7 requires JDK 11+, but the `run-in-docker.sh` had not
been updated and was still using JDK 8.
2023-05-27 11:21:15 +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
8457dbf1a6
[gradle enterprise] various enhancements ( #15607 )
...
* use enforce-maven as the ID
* remove enforce formula use mvn clean in workflow
2023-05-26 15:33:50 +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
William Cheng
6213d39539
update doc
2023-05-26 10:10:23 +08:00
Beppe Catanese
1f4cbb8f00
Add multiple parameter examples to CodegenParameter ( #15647 )
...
* Add examples to CodegenParameter
* Set CodegenParameter examples
* Add examples to CodegenParameter
* Set CodegenParameter examples
* Regeneration samples
2023-05-26 09:20:22 +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