CTerasa-ep
7f480cb936
[C++][Pistache] Serialize integer enums if possible ( #16080 )
...
In OpenAPI it is possible to define an enum schema containing integers
only.
Similar to the following JSON snippet:
```
...
"components": {
"schemas": {
"size": {
"type": "integer",
"description": "Container size",
"enum": [
10000,
20000,
100000,
200000,
300000,
1000000,
1200000,
2500000,
5000000,
10000000
]
}
}
}
...
```
To correctly serialize this we need to convert to JSON integers. We can
achieve this by feeding nlohmann JSON objects directly with integers
instead of strings.
For the C++ pistache server adapt the enum models to serialize integer
values if possible.
2023-07-13 09:31:53 +08:00
Dennis Melzer
e77f9ea783
Add new OAuth2RequestInterceptor to remove deprecated open feign classes ( #16011 )
...
* Add new OAuth2RequestInterceptor to remove deprecated open feign classes
* Add override
* Add version
* Add older version
* Update docs
* Fix issue with multiple security schemes
* Move cli option to spring code gen
* Fix documentation options
* Remove resource folder
* Fix duplicate annotation
* Add an enable flag
* Remove generator setting
* Revert codgen changes
* Revert config generator changes
2023-07-13 08:35:39 +08:00
William Cheng
c6f6ef92d0
Refactor getAdditionalProperties, isFreeFormObject ( #16065 )
...
* refactor getAdditionalProperties, isFreeFormObject
* change warn to debug
2023-07-13 08:32:42 +08:00
devhl-labs
16c149a91e
fixed bug in http signing config ( #16040 )
2023-07-13 08:27:55 +08:00
devhl-labs
3678085017
removed warnings ( #16039 )
2023-07-13 08:27:21 +08:00
Tanmay Mohapatra
c595a02b61
[Julia] Fix error in server enum generation ( #16079 )
...
Fixed issue in enum generation for julia-server code.
An empty struct was generated, where it should have generated a type alias.
2023-07-12 19:04:30 +08:00
William Cheng
ec6381295a
Update php options for better customization of composer.json ( #16078 )
...
* update php options
* update tests
2023-07-12 13:22:05 +08:00
Maximilian Reichel
7cbdc861c7
docs(php): Add missing configuration property composerPackageName
( #15846 )
2023-07-12 11:29:44 +08:00
Hugo Posnic
9aa6e25886
Fix #14645 Permit to customize more composer.json parts ( #16012 )
2023-07-12 11:28:39 +08:00
Jens Wetterich
3325edc5c5
[kotlin][spring-webclient] Add parseDateToQueryString ( #16069 )
2023-07-12 10:17:53 +08:00
William Cheng
0a6671044f
Rename inlineSchemaNameDefaults to inlineSchemaOptions ( #16048 )
...
* rename InlineSchemaNameDefaults to InlineSchemaOptions
* update doc
* rename options
2023-07-11 18:07:09 +08:00
William Cheng
7b3681af47
fix isMap ( #16043 )
2023-07-11 17:14:44 +08:00
Bruno Coelho
f31c2a4b17
[kotlin][client] Add new line at the end of all files ( #16062 )
...
* [kotlin][client] add new line at end of files
* [kotlin][client] add new line at end of files
2023-07-11 17:07:06 +08:00
devhl-labs
ceb48d3af4
removed IApi namespace ( #16058 )
2023-07-11 14:01:45 +08:00
devhl-labs
9362b49173
added event for errors ( #16057 )
2023-07-11 10:54:29 +08:00
dependabot[bot]
91a55fc6b6
Bump semver from 5.7.1 to 5.7.2 in /website ( #16056 )
...
Bumps [semver](https://github.com/npm/node-semver ) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 09:51:43 +08:00
Emanuele Saccomandi
cc47f45eac
Added zapier ci validation ( #16052 )
...
* minor zapier api template fixes
* updated samples
* added zapier validation action
* readded zapier beta tags
* fixed zapier validation action
* updated samples
2023-07-11 00:19:15 +08:00
devhl-labs
fe78be405e
[csharp][generichost] Added event on http response to facilitate server health tracking ( #16046 )
...
* added event on http response to facility server health tracking
* renamed a file
* handled the renamed file
2023-07-10 16:10:04 +08:00
William Cheng
aa1e9097ea
Minor improvements to Zapier client generator ( #16044 )
...
* improve Zapier client generator
* log debug instead of error
2023-07-10 15:37:20 +08:00
William Cheng
ac1f5f1e81
[inline model resolver] Add support for inline enum refactoring ( #16033 )
...
* add support for inline enum refactoring
* minor update
* add tests
2023-07-10 13:43:50 +08:00
William Cheng
852eb956db
[kotlin][spring] Remove EOL from template ( #16045 )
...
* remove EOL from template
* better code format
2023-07-10 11:44:29 +08:00
Peter Leibiger
75067b2581
[Dart] Update CI ( #15981 )
...
* [dart] Update CI
* cache maven dependencies
* use newest exec plugin
* execute pub via dart subcommand
* Use run command directly
2023-07-10 11:27:01 +08:00
Ben Kolera
f34e42b249
[BUGFIX][kotlin-spring] Fix generatedAnnotation to use the javaxPackage variable instead of jakarta to fix spring boot 2 codegen ( #15944 )
...
* Update generatedAnnotation.mustache
Without this, it generates a jakarta annotation in the controllers of a spring boot 2 project.
* Updated examples
2023-07-10 11:13:22 +08:00
William Cheng
94d76ff5d4
Better inline schema naming for double byte characters ( #16035 )
...
* better inline schema naming for double byte characters
* clean up
* update deprecated methods
2023-07-10 09:38:54 +08:00
William Cheng
f0084b39ac
update samples
2023-07-09 22:39:00 +08:00
Emanuele Saccomandi
9baf4988f3
Zapier generator ( #15997 )
...
* First version of Zapier Generator
* fixed zapier codegen
* added zapier templates
* added zapier sample
* added zapier doc
* added zapier generator form data management
* added samples generation
* updated docs
* fixed zapier api template
* fixed zapier samples export
* added zapier readme template
* fixed zapier readme template
* added petstore readme
* cleaned zapier generator
* updated samples
* fixed zapier enum label
* cleaned code
* updated samples
* improved zapier search actions
* updated samples
---------
Co-authored-by: Mauro Valota <maurovalota@fattureincloud.it>
Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-07-09 21:52:04 +08:00
devhl-labs
f63ef71432
version bump ( #16038 )
2023-07-09 10:27:34 +08:00
devhl-labs
c6877947ac
removed a warning ( #16037 )
2023-07-09 10:26:59 +08:00
devhl-labs
1d470c3866
fixed nre ( #16036 )
2023-07-09 10:25:31 +08:00
Jon Schoning
2c5f8b30b4
[haskell-http-client] - update deps ( #16041 )
2023-07-08 19:34:37 -05:00
William Cheng
52dd41159f
Revert "better inline schema naming for double byte characters"
...
This reverts commit aaf9ce637adbb1f4c6d90336c7408447aae33d9a.
2023-07-08 22:37:42 +08:00
William Cheng
aaf9ce637a
better inline schema naming for double byte characters
2023-07-08 22:37:18 +08:00
William Cheng
08c3f8973e
[python] Fix array of array of model's to_dict, from_dict ( #16032 )
...
* fix array of array of model's to_dict, from_dict
* update samples
2023-07-08 14:12:42 +08:00
Felix Uellendall
83a12779fa
Fix syntax error in from_dict call ( #16000 )
2023-07-08 08:43:01 +08:00
William Cheng
f7edbbc572
update samples
2023-07-08 08:42:18 +08:00
Tanmay Mohapatra
5bae27cbbf
[Julia] Fix error in default value and enum gen ( #16030 )
...
Fixed issues in default value and enum generation for non-string types.
2023-07-08 01:12:05 +08:00
Beppe Catanese
2aa75802dc
[POSTMAN] Mark request header as disabled ( #16028 )
...
* Disable headers without a value
* Update samples
2023-07-08 01:06:32 +08:00
Beppe Catanese
30d6a2ff80
[POSTMAN] Use parameter default value ( #16027 )
...
* Refactor to use defaultValue
* Test parameter with defaultValue
* Update samples
2023-07-08 01:05:53 +08:00
William Cheng
a5f1c01548
update samples
2023-07-07 11:28:20 +08:00
Beppe Catanese
315fbff680
[BUG] Change default value for header parameter ( #15990 )
...
* Override toDefaultValue method
* Regenerate sample
2023-07-07 10:58:24 +08:00
William Cheng
9170306ffa
Fix Spring CI sample folder ( #16005 )
...
* fix spring CI sample folder
* fix path
* trigger build
* test push
* add spring jdk17 workflow
* trigger build
2023-07-07 10:23:34 +08:00
William Cheng
a2d0b0c5b8
Minor fix to gradle test, pom.xml, build.gradle ( #16026 )
...
* fix publising to gradle portal
* v6.5.0 portal release
* add back docker publish
* trigger build
* Revert "trigger build"
This reverts commit f7ea8baf356db97d1e3eec68736be372e68a6543.
* Revert "add back docker publish"
This reverts commit a279145cc6d5338155ce4c965368cb12d59c7643.
* Revert "v6.5.0 portal release"
This reverts commit 8a91858df539ceffbbf088711516b04e752d6e67.
* minor fix to gradle test, pom.xml
* rollback to 1.0.0
* fix
2023-07-07 10:18:33 +08:00
William Cheng
ba5c5f478e
remove openapi parameter from method ( #16017 )
2023-07-07 08:32:38 +08:00
Bodo Graumann
ba1c600830
[typescript] Fix support for relative URLs ( #15482 )
...
* Add test for different url types
* Fix tests for typescript inversify framework
* Add workaround for relative URLs
* Regenerate samples
2023-07-06 17:30:19 +02:00
William Cheng
a16a315fee
Revert "7.0.0-beta release ( #16018 )"
...
This reverts commit 635f7952cec10eecf437886ccd03983b655cd6f2.
2023-07-06 17:21:35 +08:00
William Cheng
635f7952ce
7.0.0-beta release ( #16018 )
...
* 7.0.0-beta-release
* fix gradle tests
v7.0.0-beta
2023-07-06 16:06:02 +08:00
Daniel Lange
6b62f2b05a
[csharp-netcore] Enable setting of RemoteCertificateValidationCallback through IReadableConfiguration ( #15979 )
...
* Fix for [BUG][C#][csharp] Use RestClient.RemoteCertificateValidationCallback for SSL validation #11497
* Fixed modification of wrong files through merging to master and applied the changes to the correct files
* Updated examples
* Forget some examples
* Updates branch to reflect master changes and published changed example files yet again to solve conflicts
* Fixed examples
2023-07-06 11:48:10 +08:00
William Cheng
965eb2a02f
Add logic to avoid stackoverflow ( #16008 )
...
* add logic to avoid stackoverflow
* add test file
2023-07-06 11:45:31 +08:00
William Cheng
bf80ccb24c
remove getPropertyDefaultValue ( #16003 )
2023-07-06 11:45:05 +08:00
devhl-labs
8d625986c6
used list instead of set ( #16015 )
2023-07-06 11:33:01 +08:00