Skip to content

Commit 578bdbe

Browse files
authored
minor fix documentation for customization (#22440)
1 parent 1b55779 commit 578bdbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/customization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,7 @@ OpenAPI Normalizer transforms the input OpenAPI doc/spec (which may not perfectl
538538
539539
- SIMPLIFY_ONEOF_ANYOF
540540
- SIMPLIFY_BOOLEAN_ENUM
541+
- SIMPLIFY_ONEOF_ANYOF_ENUM
541542
- REFACTOR_ALLOF_WITH_PROPERTIES_ONLY
542543
543544
(One can use `DISABLE_ALL=true` to disable all the rules)
@@ -565,8 +566,7 @@ Example:
565566
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate -g java -i modules/openapi-generator/src/test/resources/3_0/simplifyAnyOfStringAndEnumString_test.yaml -o /tmp/java-okhttp/ --openapi-normalizer SIMPLIFY_ANYOF_STRING_AND_ENUM_STRING=true
566567
```
567568
568-
- `SIMPLIFY_ONEOF_ANYOF_ENUM`: when set to true, oneOf/anyOf with only enum sub-schemas all containing enum values will be converted to a single enum
569-
This is enabled by default
569+
- `SIMPLIFY_ONEOF_ANYOF_ENUM`: when set to true, oneOf/anyOf with only enum sub-schemas all containing enum values will be converted to a single enum. This is enabled by default.
570570
571571
Example:
572572

0 commit comments

Comments
 (0)