David
ba2e50519d
improve documentation for RESOLVE_INLINE_ENUMS ( #20812 )
...
related to #20790
2025-03-06 18:28:45 +08:00
Tyler Mairose
36b72052e6
Add tag and method filters during generation ( #20801 )
...
* Add Filter by tag and method under OpenAPINormalizer
* Update message for invalid filters
* Update customization documentation with new filters
* Add comment for new code block
2025-03-06 01:49:47 +08:00
abrevet-dev
8040e9aae9
Add openapi-normalizer rule to set tags to vendor extension ( #20713 )
2025-02-26 16:18:17 +08:00
William Cheng
c5ac7d485f
Various enhancements, bug fixes to default codegen and maven plugin ( #20388 )
...
* fix typos in docs
* minor fix in default codegen
* fix more typos
2024-12-30 16:42:26 +08:00
William Cheng
6bc8e0bffc
Fix duplicated operationId with new rule in normalizer ( #19872 )
...
* fix duplicated opeationId with new rule in normalizer
* update workflow
* update samples
* update samples
* update java samples
2024-11-11 18:12:46 +08:00
William Cheng
ef36ea410e
Fix method naming for openapi normalzier, openapi ignore list option ( #18348 )
...
* fix openapi normalizer naming issue in config
* update openapi generator ignore list setting
* update
* fix
* update sample config
* update doc
2024-04-10 17:09:48 +08:00
William Cheng
2d7f0496ec
add rule to set primitive types to nullable ( #18258 )
2024-04-01 11:54:21 +08:00
William Cheng
c5ab78575a
Add rule to set container (array, set, map) to true ( #18128 )
...
* add rule to set containter to null
* update doc
2024-03-17 16:37:46 +08:00
William Zhang
ae9084bfd6
fix: typo in docs ( #18028 )
2024-03-05 15:34:02 +08:00
William Cheng
8df0d98a44
fix broken link to spec
2024-02-29 10:42:59 +08:00
William Cheng
2d3670b96c
update openapi normalizer doc
2024-02-29 10:34:21 +08:00
William Cheng
b0c9456add
add FILTER to openapi normalizer ( #17859 )
2024-02-15 13:05:31 +08:00
William Cheng
7c7634dda9
add operation id option ( #17750 )
2024-02-01 17:21:49 +08:00
William Cheng
59f672d9aa
Add rule to remove x-internal in openapi normalizer ( #17734 )
...
* add rule to remove x-internal in normalizer
* update
* update doc
* better code format
* update samples
2024-01-30 21:11:25 +08:00
William Cheng
0dbc108d62
Add openapiGeneratorIgnoreList option to pre-populate .openapi-generator-ignore ( #17164 )
...
* add openapiGeneratorIgnoreList option to pre-populate .openapi-generator-ignore
* minor fix
* better code format
* add tests
2023-11-23 11:10:29 +08:00
William Cheng
ec3c484ce9
Add enum name mapping to Java generators ( #17018 )
...
* add enum name mapping to java generators
* update doc
* update description
2023-11-13 10:53:50 +08:00
martin-mfg
1cff462d90
remove jersey 1 ( #16646 )
2023-09-26 09:10:11 +08:00
William Cheng
1d39902930
Add name mappings support to JS client ( #16234 )
...
* add name mappings support to JS client
* update doc
* udpate doc
* update doc
2023-08-02 17:26:23 +08:00
William Cheng
4602f18ca8
Add model name mapping feature to C# codegen ( #16209 )
...
* add model name mapping feature to C# codegen
* rename file
* update samples
* update doc
2023-08-02 10:06:11 +08:00
William Cheng
596487aa6c
update doc, customization.md ( #16189 )
2023-07-26 14:11:36 +08:00
William Cheng
0a02860b50
add parameter name mapping ( #16160 )
2023-07-24 15:54:40 +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
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
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
6788f43af0
Better handling of Inline schema ( #15682 )
...
* skip allOf inline subschema created as $ref
* add option for fallback
* add back atleastonemodel
* add log
* update java, kotlin, js samples
* update tests
* fix native client test
* fix java client errors by regenerating test files
* clean up python
* clean up powershell
* clean up php
* clean up ruby
* update erlang, elixir
* update dart samples
* update ts samples
* update r, go samples
* update perl
* update swift
* add back files
* add back files
* remove outdated test files
* fix test
2023-06-11 15:35:58 +08:00
William Cheng
c5a1dbecfb
[openapi-normalizer] enable some rules by default ( #15501 )
...
* enable certain normalizer rule by default
* minor fix
* better error handling
* update doc
2023-05-16 14:04:52 +08:00
martin-mfg
e9e0f50ab6
Update customization.md ( #15172 )
...
Clarify which OpenAPI Generator version exactly introduced [Set skipFormModel to true by default](https://github.com/OpenAPITools/openapi-generator/pull/8125 ).
2023-04-10 17:16:19 +08:00
William Cheng
56e5122a6a
Add new openapi-normalizer rule REFACTOR_ALLOF_WITH_PROPERTIES_ONLY ( #15039 )
...
* add new rule REFACTOR_ALLOF_WITH_PROPERTIES_ONLY
* update other attributes
* minor refactoring
2023-03-26 11:56:26 +08:00
William Cheng
f9efb7b2fb
[OpenAPI Normalizer] update SIMPLIFY_ONEOF_ANYOF to convert enum of null to nullable ( #14898 )
...
* reorganize openapi normalizer tests
* add the logic to simply oneof anyof rule instead
* minor fix
2023-03-09 11:10:30 +08:00
William Cheng
4ed3cd9233
add new openapi-normalizer rule: ADD_UNSIGNED_TO_INTEGER_WITH_INVALID_MAX_VALUE ( #14891 )
2023-03-07 21:46:11 +08:00
William Cheng
8b2de37414
[openapi-normalizer] add a new rule to set tags for all operations ( #14794 )
...
* add doc for KEEP_ONLY_FIRST_TAG_IN_OPERATION
* add new rule SET_TAGS_FOR_ALL_OPERATIONS
* better null check
* improve doc
2023-02-24 15:26:34 +08:00
William Cheng
e09196261a
Add rule to simplify oneOf/anyOf ( #14777 )
...
* add rule to simplify oneof/anyof
* update doc
* test nullable
2023-02-21 17:39:43 +08:00
William Cheng
c9958e12b8
Add rule to simplify boolean enum ( #14764 )
...
* add rule to simplify boolean enum
* update doc
2023-02-21 14:06:24 +08:00
William Cheng
d1cde7febe
Add 2 rules to OpenAPI Normalizer ( #14463 )
...
* add REMOVE_ANYOF_ONEOF_AND_KEEP_PROPERTIIES_ONLY
* add rules to simplify anyOf
* fix rules, update docs
* remove test
* fix doc
2023-01-17 21:27:57 +08:00
William Cheng
b71aecbe9e
Add OpenAPI Normalizer ( #14172 )
...
* add x-parent support
* add docstring
* add openapi normalizer rule to use ref as parent in allof
* add openapi normalizer with 1 rule
* revise wordings
* fix javadoc warnings
* better test
* fix docstring
* minor update
* minor improvements
* fix typo
2022-12-30 16:03:21 +08:00
William Cheng
9f8ed6b0e2
update customization doc with better example on using the inline schema name mapping option ( #14135 )
2022-11-29 01:54:28 +08:00
William Cheng
099a96b1ad
add option to skip reusing inline schemas ( #13892 )
2022-11-08 10:48:32 +08:00
Nathan Baulch
9f1fa0e440
Fix another batch of spelling typos ( #13915 )
...
* Fix typos
* Remove repeated words
* Minor grammar fixes
2022-11-07 21:30:24 +08:00
mikegin
44d500ccf3
Update customization.md ( #13416 )
2022-09-15 23:20:11 +08:00
William Cheng
cb462851b5
Add documentations for schema mapping and inline schema naming ( #12892 )
2022-07-16 17:12:59 +08:00
Nathan Baulch
5d68bd6a03
Fix thousands of spelling typos ( #10272 )
2021-08-28 22:58:24 +08:00
Timothy Langer
ac1ef4bdeb
Fix typo (preffer -> prefer) ( #10098 )
2021-08-07 20:57:43 +08:00
Denis Istomin
558bdad85d
Update docs of skipFormModel default value ( #9014 )
2021-03-19 20:35:02 +08:00
William Cheng
1c85fdc473
update doc to use colon as the separator ( #8411 )
2021-01-12 10:47:09 +08:00
William Cheng
b888423fd8
Use 3.0 spec in documentations, update docs ( #7710 )
...
* update npm set version, use 3_0 spec
* use 3_0 spec in website
2020-10-14 10:13:17 +08:00
Jim Schubert
bf0bd29ef1
[core][feature] User custom added templates ( #7366 )
2020-09-12 18:09:59 -04:00
Jim Schubert
684b77166b
[docs] Add notes on Windows classpath modification ( #7404 )
2020-09-11 21:42:18 -04:00
William Cheng
47b7a0d243
Update documentation with global propperty ( #6863 )
...
* update documentation with global propperty
* remove java opts
* remove KotlinNewServerCodegen
* update contributing.md
2020-07-05 18:20:26 +08:00
Jim Schubert
7e5f720f20
Remove deprecations 5.0 ( #6060 )
...
* [breaking] Enforce vendor extension naming convention
* [breaking] Rename system properties to global properties
* [docs] Update site with global properties list and usage explanation
* Use proper vendor extension casing in all templates
* Set remaining vendor extensions to convention of lower kebab-cased with x- prefix
* [samples] Regenerate
* Update modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/RustServerCodegen.java
Before we were adding hasPathParams twice, once with !op.pathParams.isEmpty(), and then again with hasPathParams. This was probably caused by a mistaken merge.
This is causing the difference in samples
Co-authored-by: Richard Whitehouse <richard.whitehouse@metaswitch.com>
* [Samples] Regenerated!
* Fix -D conversion to additional-properties, missed in bat files
* JERSEY2 option changed
* [samples] Regenerate
* [scala][finch] Fix remaining vendor extensions format to conventino
* [scala] The -D option was replaced with --global-property
* [samples] Regenerate
* Fix -DskipFormModel usage which has been moved to --global-property skipFormModel=true
* [samples] Regenerate
Co-authored-by: Richard Whitehouse <richard.whitehouse@metaswitch.com>
2020-05-31 19:14:31 +08:00
Jochen Schalanda
e82546f342
Update generated build files for REST Assured ( #5873 )
...
* REST Assured 4.3.0
* Jackson 2.10.3
* Gson 2.8.6, GSON-Fire 1.8.4
* Okio 1.17.5
* Joda-Time 2.10.5
* ThreeTenBP 1.4.3
* Added missing dependencies for Bean Validation
* Added missing dependencies for `@Generated` annotation
* Refresh REST Assured sample project
2020-04-12 23:36:18 +08:00