forked from loafle/openapi-generator-original
python: ignore long lines for model descriptions (#16518)
Descriptions can easily exceed line-length limits because they are often extracted from doc/comments strings, which may use unexpected formatting. Python doc strings, in particular, are likely to use newlines, which mustache does not preserve, causing descriptions to be condensed to a single line.
This commit is contained in:
committed by
GitHub
parent
0192baed42
commit
b34a10aee7
@@ -25,7 +25,7 @@ from openapi_client.models.string_enum_ref import StringEnumRef
|
||||
|
||||
class DefaultValue(BaseModel):
|
||||
"""
|
||||
to test the default value of properties
|
||||
to test the default value of properties # noqa: E501
|
||||
"""
|
||||
array_string_enum_ref_default: Optional[conlist(StringEnumRef)] = None
|
||||
array_string_enum_default: Optional[conlist(StrictStr)] = None
|
||||
|
||||
Reference in New Issue
Block a user