Chris Miller
4ba187a1a4
Provide rust-server swagger/multipart_form ( #17950 )
...
* grant rust server swagger form multipart
* run exporters
2024-02-25 17:18:15 +08:00
Jean-François Côté
a6771adf53
Add nullable to model fields ( #17934 )
2024-02-23 15:55:19 +08:00
ふぁ
c99a5cfeb6
[python] update model_config from dict to ConfigDict ( #17900 )
...
* [python] rewrite dict as ConfigDict
* [python] update sample
* [python] undo unwanted changes
* [python] update sample
2024-02-20 17:53:13 +08:00
Mehmet Fatih Ercik
48565ae5be
Generate API files as interfaces for go-gin server ( #17784 )
...
* add feature to generate only interface files
* generate sample
* add workflow file foe go gin service
* add workflow file foe go gin service
* add workflow file foe go gin service
* update samples
2024-02-20 15:37:44 +08:00
William Cheng
82bb813aeb
update fastapi dependencies to newer versions ( #17871 )
2024-02-15 15:27:17 +08:00
William Cheng
887b860007
Update python-fastapi generator to support Pydantic v2 ( #17369 )
...
* update python fastapi to support pydantic v2
* add new files
* update samples
* update samples
* update starlette
* update typing extensions
* update email validator
2024-02-15 14:15:51 +08:00
William Cheng
4810dd52c3
[python-fastapi] auto generate impl folder ( #17852 )
...
* auto generate impl folder
* fix working dir
* install pytest
* add new file
* update, fix
* test with py 3.9
* fix tests
* update doc
2024-02-15 13:08:04 +08:00
William Cheng
3f344ac6b4
update python fastapi readme
2024-02-13 16:54:27 +08:00
Simon Podlipsky
f3ac4498df
refactor(php): use self::markTestIncomplete instead of instance calls ( #17824 )
...
It's reported by phpstan as `Dynamic call to static method PHPUnit\Framework\Assert::markTestIncomplete().`.
The method is static, therefore it should not be called from instance context.
2024-02-12 15:48:44 +08:00
Simon Podlipsky
1e9bccca16
feat: generate EOL in VERSION file ( #17829 )
...
The EOL is missing so let's add it in order to comply with POSIX standard:
Line
> A sequence of zero or more non- <newline> characters plus a terminating <newline> character.
2024-02-12 15:40:55 +08:00
William Cheng
783e68c7ac
7.4.0 snapshot ( #17818 )
...
* Revert "7.3.0-release (#17817 )"
This reverts commit d617b46c86b9075c5e0d63fe3798e2982f5259ac.
* update samples, docs, readme
2024-02-08 16:07:22 +08:00
William Cheng
0d1b14a75f
replace 4-space with tabs in go templates
2024-02-08 12:58:19 +08:00
Mehmet Fatih Ercik
fdb001c8a3
add a new function router to pass gin context ( #17785 )
2024-02-08 12:53:00 +08:00
William Cheng
7cdbb2a7b4
update samples
2024-02-08 11:38:49 +08:00
William Cheng
5af2c7fbfb
[jax-rs][jersey3] Fix missing SecurityRequirement ( #17797 )
...
* [jax-rs][jersey3] Add SecurityRequirement
* Update Samples
* update samples
---------
Co-authored-by: nbreuil <88213872+nbreuil@users.noreply.github.com>
2024-02-06 16:47:19 +08:00
Sander Hoentjen
7267e809c3
[python-fastapi] Ensure path param is ... instead of None ( #17532 )
...
Fixes #16029
Code from https://github.com/OpenAPITools/openapi-generator/issues/16029#issuecomment-1776271921
2024-01-31 11:03:14 +08:00
William Cheng
ef59589287
update samples
2024-01-31 10:38:59 +08:00
martin-mfg
9afea50cab
use map/array model class only if it is generated ( #17612 )
...
* fix
* tests
* generate samples
* refactor
2024-01-29 21:35:21 +08:00
dmbakker
9952776e9c
[java] fix Use jackson-jakarta-rs-json-provider when useJakartaEe is true ( #17600 )
...
* fix #17590 - use jackson-jakarta-rs-json-provider instead of jackson-jaxrs-json-provider in pom when useJakartaEe is true
* fix #17590 - fix indentation
* fix #17590 - updated samples
* fix #17590 - fixed groupid
---------
Co-authored-by: in376bak <dennis.bakker@duo.nl>
2024-01-28 00:38:18 +08:00
dabdirb
66a6af5ca4
add lombok model support on spring ( #17622 )
...
* add lombok model support on spring
* use regex to adapt annotation with parenthesis
* add ut case
* add samples
* add samples
* fix github workflow
* fix github workflow
2024-01-27 10:45:44 +08:00
Jesenko Mehmedbasic
0a0428b89c
Add JavaDoc to api and apiInterface templates for the JavaJaxRS spec generator ( #17705 )
...
* Add javadoc to api and apiInterface templates for JavaJaxRS/spec.
* Updated samples with javadoc change.
2024-01-27 10:40:37 +08:00
Tjeerd Verhagen
aaaf1e14c8
Fixes #17645 When interfaceOnly is true, RestApplication will be generated as well ( #17646 )
...
This class with the optional OpenAPIDefinition annotations is now generated always.
And no longer only when the interfaceOnly is set to false (default).
2024-01-24 21:37:10 +08:00
Linh Tran Tuan
7e8b521069
[Rust] [Axum] Fix clippy warning ( #17637 )
2024-01-18 08:58:59 +08:00
Rugal Bernstein
287e8fc69c
Able to generate within parameter #17158 ( #17623 )
2024-01-16 21:48:46 +08:00
Alexis Couvreur
092463a513
feat: add java-wiremock generator ( #17614 )
...
* feat: add `java-wiremock` generator
* remove text block usage for samples
this will allow more version of jav to be compatible with this
* fix extra parenthesis
* Add java-wiremock workflow
2024-01-16 11:40:13 +08:00
Dennis Ameling
13edc5d494
kotlin-server: Add support for Javalin ( #17596 )
...
* kotlin-server: Add support for Javalin
* kotlin-server: Add Javalin generated sample code
* Add output from build scripts
* Address MR feedback
* Update CI to include new Javalin sample
2024-01-15 20:22:20 +08:00
Gonzalo Gomez
af71460c86
[Go-Server] Use ParseQuery For Parsing Query Parameters ( #17585 )
...
* Uses ParseQuery to check for malform paramater value pairs.
Runs ./mvnw clean package, ./bin/generate-samples.sh ./bin/configs/*.yaml, and ./bin/utils/export_docs_generators.sh.
* Adds missing import
* Only import url if hasQueryParams.
* Adds helper function to wrap url.ParseQuery.
* Fixes function return signature
2024-01-15 13:43:04 +08:00
William Cheng
33faa2960c
update python flask samples
2024-01-15 09:18:32 +08:00
William Cheng
75ef9e0b02
update java samples
2024-01-12 12:51:33 +08:00
Linh Tran Tuan
6429711a58
[Rust] [Axum] Format ops-v3 sample ( #17599 )
2024-01-12 10:37:14 +08:00
Linh Tran Tuan
be19c35c45
[Rust] [Axum] Deduplicate code from rust-axum generator ( #17588 )
...
* [Rust] [Axum] Deduplicate code from rust-axum generator
* Fix build
2024-01-11 16:48:28 +08:00
wrj97
cfe7dcc0cf
feat: using Qt with 3rd Party Signals and Slots ( #17067 )
...
Replace signals,slots and emit with Q_SIGNALS,Q_SLOTS and Q_EMIT
Because these names will be used by a 3rd party library
2024-01-10 13:55:31 +08:00
William Cheng
9b7528d8c8
update samples, docs
2024-01-10 11:50:48 +08:00
mikkka
455add6d80
Implement scala http4s server generator ( #17430 )
...
* Implement scala http4s server generator
* Fix types and auth
* Add proper handling of various responses
* Fix configs
* Drop null values in json encoder
* Add sample files
---------
Co-authored-by: m.tkachev <m.tkachev@tinkoff.ru>
2024-01-10 11:40:31 +08:00
Kernevez
e69c5269d5
Add tags on operation for template kotlin-spring ( #17410 )
...
* Add tags on kotlin-spring
* Fix review
2024-01-10 11:20:14 +08:00
William Cheng
7ddcb9a8cb
update samples
2024-01-10 11:19:38 +08:00
Rugal Bernstein
1e0e8fe0eb
Add ability to append ServerHttpRequest for kotlin-spring generator ( #17158 )
...
* Add ability to append ServerHttpRequest for kotlin-spring generator
* Add generated doc & sample
2024-01-10 11:11:23 +08:00
Alexis Couvreur
dd5c7e3b9a
fix: ExampleGenerator correctly generates allOf composed schemas ( #17499 )
...
* fix: ExampleGenerator correctly generates allOf composed schemas
Changes the previous behavior of generating `null` examples for allOf composed schemas.
Fixes #17497
* fix: ExampleGenerator correctly generates anyOf and oneOf composed schemas
Changes the previous behavior of generating `null` examples for anyOf and oneOf composed schemas.
To generate a oneOf/anyOf example, we generate the example using the first valid schema available. In case of a $ref, we use the first valid reference.
Fixes #17497
2024-01-10 11:04:11 +08:00
Erik Booij
90f3b24edc
fix(go-server): ensure original filename can be deduced from tmp file ( #17416 )
2024-01-10 02:00:44 +08:00
Linh Tran Tuan
425011a50c
[Rust] [Axum] Remove redundant code in rust-axum generator ( #17570 )
2024-01-10 01:41:14 +08:00
Thomas Kläger
69a4a65bc7
fix spring generator dto annotations ( #17054 )
2024-01-09 16:47:10 +08:00
Linh Tran Tuan
9827098057
[Rust] [Server] New generator bases on Axum ( #17549 )
...
* Rust Server - Axum based (#5 )
* Fix typo
* Address comment
* Address comment
2024-01-09 11:38:54 +08:00
martin-mfg
64f2cad9e8
fix #17258 - use model class only if it is generated ( #17490 )
...
* fix #16797 and #15796 spring child constructor missing parent params
* root cause and update the DefaultCodegen.java to add missing property when with multi inheritance
* rollback SpringCodegen.java
* update samples
* rollback with master cause #16992 fixed this issue too
* still using orignal design
* catchup master
* catchup master
* catchup master
* fix
* add tests
---------
Co-authored-by: dabdirb <dabdirb@gmail.com>
2024-01-05 10:30:28 +08:00
Aliaksei
48e9b9f408
[bugfix][jaxrs]: fix compile error for jaxrs samples ( #17479 )
2024-01-03 09:59:17 +08:00
fizzet
2d50655d8c
[JaxRS] fix pojo equals ( #17431 )
...
* [JaxRS] fix Pojo equals
Fix equals for pojos that have the same name as one of their properties
* regen samples
2023-12-26 10:13:36 +08:00
Raphaël Ouazana
d0f659ec4d
[ #17465 ] Fix Kotlin templates to be compatible with Kotlin K2 compiler ( #17466 )
2023-12-26 10:09:28 +08:00
William Cheng
5eab3cef19
Prepare 7.3.0-SNAPSHOT ( #17456 )
...
* Revert "v7.2.0 release (#17455 )"
This reverts commit fe638d009363c142c246ff089032f243e0b4ee01.
* set version to 7.3.0-SNAPSHOT
* update doc
2023-12-22 16:55:58 +08:00
Ween Jiann
bf4c98a82a
[go-server] Add ability to handle nullable query param ( #17321 )
...
* Update
* Regen
2023-12-21 19:13:05 +08:00
Beppe Catanese
a34eeaed77
[GO Gin Server] Webhooks support: add missing webhook handlers ( #17411 )
...
* Implement postProcessWebhooksWithModels
* Implement postProcessWebhooksWithModels
* Add missing webhook handlers
* Test webhook handler
* Generate samples
2023-12-21 16:10:09 +08:00
Ween Jiann
b7f31ddda4
Regenerate ( #17389 )
2023-12-13 22:17:15 +08:00