You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 25, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: docs/generators/python.md
-1
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
28
28
|packageVersion|python package version.||1.0.0|
29
29
|projectName|python project name in setup.py (e.g. petstore-api).||null|
30
30
|recursionLimit|Set the recursion limit. If not set, use the system default value.||null|
31
-
|useInlineModelResolver|use the inline model resolver, if true inline complex models will be extracted into components and $refs to them will be used||false|
Copy file name to clipboardExpand all lines: modules/openapi-json-schema-generator/src/main/java/org/openapijsonschematools/codegen/DefaultCodegen.java
"Invalid inline schema defined in oneOf/anyOf in '{}'. Per the OpenApi spec, for this case when a composed schema defines a discriminator, the oneOf/anyOf schemas must use $ref. Change this inline definition to a $ref definition",
Copy file name to clipboardExpand all lines: modules/openapi-json-schema-generator/src/main/java/org/openapijsonschematools/codegen/DefaultGenerator.java
Copy file name to clipboardExpand all lines: modules/openapi-json-schema-generator/src/main/java/org/openapijsonschematools/codegen/InlineModelResolver.java
Copy file name to clipboardExpand all lines: modules/openapi-json-schema-generator/src/main/java/org/openapijsonschematools/codegen/languages/PythonClientCodegen.java
-15
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,6 @@ public class PythonClientCodegen extends AbstractPythonCodegen {
82
82
// nose is a python testing framework, we use pytest if USE_NOSE is unset
@@ -287,8 +285,6 @@ public PythonClientCodegen() {
287
285
cliOptions.add(CliOption.newBoolean(USE_NOSE, "use the nose test framework").
288
286
defaultValue(Boolean.FALSE.toString()));
289
287
cliOptions.add(newCliOption(RECURSION_LIMIT, "Set the recursion limit. If not set, use the system default value."));
290
-
cliOptions.add(CliOption.newBoolean(USE_INLINE_MODEL_RESOLVER, "use the inline model resolver, if true inline complex models will be extracted into components and $refs to them will be used").
nonCompliantUseDiscrIfCompositionFailsOpts.put("true", "If composition fails and a discriminator exists, the composition errors will be ignored and validation will be attempted with the discriminator");
0 commit comments