William Cheng
a729cb4e09
Add support for isFreeFormObject flag ( #16127 )
...
* correctly set the free form object flag
* update
* better code format
2023-07-20 14:10:12 +08:00
Emanuele Saccomandi
bfcd646356
Updated zapier version ( #16131 )
...
* minor zapier api template fixes
* updated samples
* added zapier validation action
* readded zapier beta tags
* fixed zapier validation action
* updated samples
* updated zapier-platform-core version
2023-07-19 18:59:51 +08:00
William Cheng
aed6a0661a
code clean up for go server, jaxrs generator ( #16126 )
2023-07-19 11:33:05 +08:00
Emanuele Saccomandi
178b8a7737
Zapier generator api template improvement ( #16121 )
...
* minor zapier api template fixes
* updated samples
* added zapier validation action
* readded zapier beta tags
* fixed zapier validation action
* updated samples
* improved zapier api names
* updated samples
* fixed zapier noun and label
2023-07-19 00:36:43 +08:00
William Cheng
28e822d870
remove php slim generator (deprecated) ( #16108 )
2023-07-18 13:10:21 +08:00
William Cheng
e722c42756
minor code enhancement in abstract julia codegen ( #16118 )
2023-07-18 12:45:15 +08:00
Fredrik Omland
b2eb14b3a5
Fix properties being required and nullable:true ( #16072 )
...
* Make generated kotlin variable nullable if corresponding schema property is required and nullable
* Updating generated samples
* Fixing indent
* Updating samples after indent fix in mustache template
2023-07-18 11:22:27 +08:00
Martin Delille
067b17252e
[cpp-qt-client] Fix warning ( #16083 )
...
* [cpp-qt-client] Fix warning
* Handle warnings for MSVC
* Add warning flags only for non-MSVC compilers
* Fix warnings for MSVC compiler too
2023-07-17 16:30:44 +08:00
devhl-labs
f8e19b4ebc
added equatable option ( #16106 )
2023-07-17 11:56:04 +08:00
William Cheng
6983a3acf3
Add nameMapping option to Java client, server generators ( #16103 )
...
* add nameMapping to java codegen
* update doc
* update samples
* fix typo
* update toParamName
2023-07-17 11:37:49 +08:00
Stephane Carrez
b107ff96ac
[Ada] Fix and improvement of client and server code generator ( #16100 ) ( #16101 )
...
* Improvement of Ada client and server generator
- recognize several mime types and configure the client/server API
- fix support to handle binary and ByteArray
- add support for client and server with multiple mime type responses
- update model templates
* Fix and improvement of Ada code generator
- fix order of model types to emit the types that depend on other
types after; also sort the model types on their name
- fix model Serialize to avoid serializing a field which is Null
when it is not "Nullable"
* Add support to avoid some Ada Vectors package instantiation
- recognized the x-ada-no-vector specific attribute on model types
and when present and TRUE, don't emit the Ada Vector package instantiation
nor the Serialize and Deserialize associated procedures.
* Fix float and double support
- fix mapping for float and double
- add x-ada-serialize-op custom attribute to allow overriding the serialize procedure
- setup a default x-ada-serialize-op value for the template
* Fix wrong import and serialize method
* Regenerate the Ada client sample petstore
* Rebuild with export_docs_generators.sh
* Fix calls to toLowerCase() to use the Locale.ROOT
2023-07-17 11:26:32 +08:00
devhl-labs
6299af176d
faster logic to patch parameters ( #16102 )
2023-07-16 19:30:17 +08:00
William Cheng
598c27ddb0
[C#] fix validate ( #16097 )
...
* fix validation with discriminator using parent instead
* add new files
* add new workflow
* fix
2023-07-16 10:24:47 +08:00
William Cheng
7258b3c171
Fix allOf with a single $ref ( #16096 )
...
* new test
* fix allOf with a single ref in inline model resolver
2023-07-14 19:54:58 +08:00
William Cheng
80e2c05bad
Add isJson, isXml to consumes, produces ( #16085 )
...
* add isJson, isXml to consumes, produces
* code cleanup, update samples
2023-07-14 16:02:59 +08:00
William Cheng
b7e7314d8e
[C#] minor refactoring ( #16084 )
...
* escape keyword in toParamName (abstract C#)
* remove x-is-json (not used)
2023-07-14 00:36:57 +08:00
Tanmay Mohapatra
6a263565e7
[Julia] add Julia tests to GitHub workflow ( #16089 )
...
* [Julia] add Julia tests to GitHub workflow
Added Julia client and server tests to GitHub workflow
* fix paths
2023-07-14 00:19:56 +08:00
Daniel Lange
1531ad48d0
Fixed problem with non-ref-enums which were handled like ref-enums ( #16050 )
...
* #15476 Fixed problem with non-ref-enums which were handled like ref-enums
* Adjusted test expectation
2023-07-13 09:55:14 +08:00
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