Andriy Dmytruk
52d8a969ce
[Micronaut] Add option to describe response wrappers ( #12186 )
...
* Minor refactor for Micronaut generators
* Add support for security roles in micronaut server generator
* Micronaut Server Generator refactor the x-roles String variable
* Add support for Micronaut HttpResponse wrapper
* Generate samples
* Optimize the usage of context-path for Micronaut server
2022-04-24 16:10:33 +08:00
William Cheng
8e49875871
update samples, docs
2022-04-24 15:38:16 +08:00
adessoDpd
1602942292
[Wsdl] Adding cli-option for generating different versions of WSDL-files regarding Media type versioning (content negotiation) ( #12206 )
...
* add wsdl version generation
* add option to use specified operationId
* update samples
* update cli description
2022-04-24 15:29:09 +08:00
Auke Schrijnen
a8d4c00662
[java-micronaut] Support Optional for non-required properties ( #12144 )
...
The Micronaut generator by default adds the @Nullable annotation to
non-required properties and allows using the Jackson JsonNullable
wrapper but it is not possible to use java.util.Optional as a wrapper
for optional properties.
This change adds support for using the Optional wrapper for non-required
properties.
2022-04-21 10:53:56 +08:00
William Cheng
e98c054693
Improvements to csharp-netcore-function generator ( #12183 )
...
* improvements to csharp-netcore-function generator
* update samples
* update doc, samples
2022-04-21 01:40:23 +08:00
William Cheng
0a53232791
update doc
2022-04-21 00:49:46 +08:00
Abrhm7786
d6e194ba3a
Return type for Azure funcs ( #12115 )
...
* Azure func return type
* Changed to Task<IActionResult<T>
* Readme
2022-04-21 00:41:24 +08:00
Andrii Serkes
783f810a05
Allow selection of MP REST API version for MicroProfile REST client g… ( #12043 )
...
* Allow selection of MP REST API version for MicroProfile REST client generation
* fix typo in pom.xml
* fix typo in pom.xml, update samples
* add exception when incorrect MP Rest Client version is chosen
2022-04-20 14:29:43 +08:00
Justin Black
e2e7609bac
Adds not to CodegenComposedSchemas and uses it in python-exp ( #12146 )
...
Updates docs
2022-04-17 09:36:09 -07:00
Justin Black
eef7cddd6f
Adds UUID to python-experimental ( #12153 )
...
* Adds UUID to python-exp, allows uuid models to be generated
* Adds test_UUIDString uuid model test
* Fixes uuid properties in python-exp, changes maps to object data type, adds uuid data type
* Adds maps data type back in
* Adds missing Null and AnyType definitions and adds them to python-experimental
* Generator docs updated, added missing uuid, null, anytype, and object
* Adds uuid support description
* Docs updated
2022-04-16 14:55:49 -07:00
Peter Leibiger
a60df64cfb
[dart] Support/Fix sourceFolder parameter and docs ( #12113 )
...
* [dart] Support/Fix sourceFolder parameter and docs
* allow passing the sourceFolder to generators
* not sure how this translates to the dart2 generator due to the `part` files
* fix doc generation not showing default value of CLI options
* [dart] Delete old generator doc files
2022-04-16 16:41:13 +08:00
Eric Wolf
ce6d8c0be4
Fix documentation for users of AbstractJavaJAXRSServerCodegen ( #12142 )
...
The default for `sourceFolder` in the documentation was wrong.
2022-04-16 16:39:19 +08:00
mkusaka
877a3fc58d
[typescript-fetch] drop support typescript under v4.0 ( #12102 )
...
* [typescript-fetch] drop support typescript under v4.0
* [typescript-fetch] update docs
* [typescript-fetch] update package-lock.json manually & fix test
* [typescript-fetch] fix test
2022-04-12 09:10:37 +02:00
William Cheng
cd41bc824b
[java] Add jersey3 support to the Java client ( #12046 )
...
* add jersey3 client support
* update code to support jersey3
* test jersey3 in ci
* update doc
* update sbt, gradle build files
2022-04-05 17:23:37 +08:00
William Cheng
224a082906
remove es5 support from js generator ( #12033 )
2022-04-03 16:49:20 +08:00
Akhil Nair
a6bcef5b16
[PYTHON] Setting default value for Required variables ( #10809 )
...
* [req_vars_changes]
* Added new schema to generate samples to test the issue mentioned in the PR.
* Changed the variable name from setRequiredVars to initRequiredVars
* Added initRequiredVars as a generator additional property
* Regenerating the samples after rebasing the code with master branch
* Changed the description of additional property
2022-03-30 08:52:00 -07:00
mkusaka
21c399f2b8
[typescript-fetch] Add stringEnums option ( #11976 )
...
* [typescript-fetch] add stringEnums option
* [typescript-fetch] add docs & samples
* [typescript-fetch] update samples
* [typescript-fetch] support 3.4 or lower version
* [typescript-fetch] update samples
2022-03-28 10:51:33 +02:00
Justin Black
36f0dd026c
Only allow v3 input specs into python-experimental ( #11931 )
...
* Only allow v3 input specs into python-experimantal
* docs regenerated
2022-03-21 23:47:47 -07:00
Oleh Kurpiak
8acc5023a8
[C#/.NET] remove duplicate CLI option ( #11925 )
2022-03-21 12:50:19 +08:00
William Cheng
5d8b80a5cd
[Java] rename x-contentType to x-content-type ( #11895 )
...
* rename x-contentType to x-content-type
* undo changes
2022-03-18 09:50:42 +08:00
Oleh Kurpiak
860b6340a8
[Java] update list of vendor extensions ( #11891 )
2022-03-17 09:31:45 +08:00
Andriy Dmytruk
47f07158a3
[Micronaut] Add support for OffsetDateTime for Micronaut generators ( #11871 )
...
* Fix test output folder error for MicronautServerGenerator
* Add java8 OffsetDateTime support for Micronaut Codegens
2022-03-16 00:05:55 +08:00
Oleh Kurpiak
fb2c41c720
[Java] implicit headers regex ( #11819 )
2022-03-10 10:49:52 +08:00
Spencer Stolworthy
6bc50ee57f
Added outputAsLibrary, onlyInterfaces additional-properties to go-server ( #11563 )
2022-03-09 01:48:05 +08:00
Slawomir Kwasniak
0e4eb50af2
Fix typo in supportAndroidApiLevel25AndBelow help ( #11821 )
...
Obvious typo in the kotlin help description of the
`supportAndroidApiLevel25AndBelow` configuration parameter i.e.
`in oder` instead of `in order`.
Co-authored-by: Slawomir Kwasniak <slawomir.kwasniak@hensoldt-cyber.de>
2022-03-09 00:01:23 +08:00
Oleh Kurpiak
382e2a22a8
Document all used vendor extensions in specific generator ( #11797 )
2022-03-06 23:21:55 +08:00
Abrhm7786
be8567f656
V4 Azure functions + some tweaks ( #11345 )
...
* Copying files from LeonB's fork
* Changes as per PR comments
* Resolved merge conflict
Co-authored-by: William Cheng <wing328hk@gmail.com>
2022-03-06 23:20:04 +08:00
Jérôme Jutteau
21f649e087
[Rust] Support for withAWSV4Signature option ( #11690 )
...
* [rust] add support for withAWSV4Signature option in reqwest (#11193 )
Signed-off-by: Jérôme Jutteau <jerome.jutteau@outscale.com>
* [rust] add petstore sample for withAWSV4Signature option for reqwest (#11193 )
Signed-off-by: Jérôme Jutteau <jerome.jutteau@outscale.com>
* [rust] update all samples (#11193 )
Signed-off-by: Jérôme Jutteau <jerome.jutteau@outscale.com>
2022-03-02 01:20:58 +08:00
Sergey Vladimirov
1b6ab63953
Add beanQualifiers option to kotlin-server ( #11745 )
2022-03-02 00:57:30 +08:00
Stephane Carrez
e37400554c
[Ada] New options to choose the Ada support library in client and server ( #11749 )
...
* [Ada] New options to choose the Ada support library in client and server generated code
* new option httpSupport to choose between Curl or AWS (Ada Web Server) support
* new option openApiName to choose the package name of the OpenAPI support library
* update the templates to customize the support library
* update generated GNAT config.gpr file
* update the client petstore Ada samples
* Fix call to toLowerCase() to give a locale
* Rebuild the Ada generator documentation
2022-03-02 00:30:29 +08:00
devhl-labs
76d224fe9b
removed eol frameworks ( #11532 )
2022-02-28 09:35:00 +08:00
William Cheng
5764469051
[Java] Add useOneOfDiscriminatorLookup option ( #11736 )
...
* add useOneOfDiscriminatorLookup option to java client generator
* remove null
2022-02-27 16:50:29 +08:00
William Cheng
4d6b733d91
fix typo with camelUseDefaultValidationtErrorProcessor ( #11728 )
2022-02-26 14:51:02 +08:00
William Cheng
5c673d89c4
[typescript-angular] only support Angular v9+ ( #11726 )
...
* only angular 9+ is supported in typescript-angular
* clean up typescript-angular samples
* clean up samples
* fix test, update doc
2022-02-26 07:49:21 +01:00
Felix Winterhalter
c161358aa8
[Csharp][aspnet] Aspnet 6.0 Support ( #10619 )
...
* Aspnetcore V6 Support
* docs: update-docs
2022-02-19 13:52:52 +08:00
William Cheng
1f6b3eb604
Remove go-deprecated generator ( #11645 )
...
* remove go-deprecated generator
* update doc
2022-02-18 11:20:09 +08:00
Rodrigo Cebrián González
03cca89b80
✏️ Fixed typo error on java generator config-help command ( #11644 )
...
Fix the typo error "proeprties" to properties inside the gradleProperties config for java generator
2022-02-18 11:09:00 +08:00
devhl-labs
d7b812ad42
[charp-netcore] Constructor Improvements ( #11502 )
...
* refactor nrt annotation
* enable nrt by default in .net6.0+
* use shorter nrt annotation
* build samples
* removed debugging lines
* fixed model and operatoin constructors
* reverted a commented line for comparison
* created library modelGeneric, removed debugging lines
* build samples
* build all samples
* avoid breaking changes
* publish and build samples
* added line break
2022-02-15 10:44:23 +08:00
devhl-labs
140f633655
[csharp-netcore] Nrt (nullableReferenceTypes) refactor ( #11452 )
...
* refactor nrt annotation
* enable nrt by default in .net6.0+
* use shorter nrt annotation
* build samples
* removed debugging lines
2022-02-14 11:08:40 +08:00
cachescrubber
0ed147e7a4
Implement Source DocumentationProvider, spring-mvc
decommission ( #11531 )
...
* - Upgrade swagger-ui to 4.4.1
- Bring homeController.mustache up-to-date
- Main class is now OpenApiGeneratorApplication
- Introduce SpringBootTest.mustache
- Remove option swaggerDocketConfig/openapiDocketConfig in favor of documentationProvider.
* Generate Samples
* Restore generator-online classes
Fix spring-mvc builds
* Generate Samples
* Do not generate SpringFoxConfiguration.java when reactive ist set.
* Fix generation of SpringFoxConfiguration
* Generate Documentation
* Reactive support: add dependency management for springdoc-openapi-webflux-ui
* Generate Samples
* Change SpringBootApplication to OpenApiGeneratorApplication
* Generate Samples
* Implement SwaggerUIFeatures in SpringCodegen
* Generate Samples
* Add useSwaggerUI: true to some test configs
* Generate Samples
* Update Documentation
* Update Documentation
* Update README.mustache
* Generate Samples
* useSwaggerUI is true by default
* Generate Samples
* Update Documentation
* Add deprecation warnings to cli opts; Log a deprecation warning
* Update Documentation
* Generate Samples
* Remove spring-mvc library
* Remove spring-mvc from project and CI configs
* Check whether the selected documentation provider requires us to boostrap swagger-ui.
* Generate Samples
* Generate samples
* Generate samples
* Generate samples
2022-02-12 17:25:21 +08:00
Sergio del Amo
fbf4e56281
update micronaut to 3.3.1 ( #11569 )
2022-02-12 14:51:20 +08:00
William Cheng
8455c1cd23
Remove the option to support JDK7 from Java generator and templates ( #11547 )
...
* remove java8 from java client generator and templates
* update tests
* remove threetenbp
* update spring templates to remove java8
* remove java8 from jaxrs template
* fix jaxrs spec
* fix feign
* remove CustomInstantDeserializer.java
* fix jersey1
* fix undertow
* various update
* fix jaxrs jersey1
* fix java inflector
* fix jaxrs cxf
* add new files
* update doc
2022-02-10 10:35:29 +08:00
William Cheng
c06d00fe87
update doc
2022-02-08 13:53:42 +08:00
William Cheng
51800471fa
[java][Okhttp] replace okhttp-gson with okhttp-gson-nextgen ( #11538 )
...
* replace okhttp-gson with okhttp-gson-nextgen
* add new files
* update doc
* clean up pom
* update test
* restore error handling in doc
* add back changes
* uncomment tests
* update samples
2022-02-08 00:05:44 +08:00
devhl-labs
8ecd619eb3
[csharp-nancyfx] Delete NancyFX ( #11438 )
...
* removed all nancyfx references
* didnt save one file
* removed two more nancyfx files
2022-02-07 15:06:47 +08:00
y-tomida
7843a45b89
[TypeScript] Fix type array with uniqueItems ( #11515 )
...
* fix type mapping
* add missing primitive type Set
* add testcase
* generate new samples
* update typescript generator document
* regenerate samples and documents
2022-02-04 08:04:51 +01:00
William Cheng
0e1164ff6b
Merge remote-tracking branch 'origin/6.0.x'
2022-01-31 14:26:14 +08:00
Armel Soro
ed14ce4dec
[Kotlin] Use mutable container types when 'modelMutable' is enabled ( #11154 )
...
* [Kotlin] Use Mutable container types when 'modelMutable' is enabled
* Generate sample 'kotlin' project with mutable models
* Generate sample 'kotlin-server' project with mutable models
* Generate sample 'kotlin-vertx' project with mutable models
* Generate sample 'ktorm-schema' project with mutable models
Co-authored-by: Bruno Coelho <4brunu@users.noreply.github.com>
2022-01-30 12:06:03 +00:00
William Cheng
c8b84c4d03
Merge remote-tracking branch 'origin/master' into 6.0.x
2022-01-30 18:01:35 +08:00
William Cheng
3ed6343933
remove deprecated options in java client generator ( #11456 )
2022-01-30 15:57:02 +08:00