2019-01-18 09:39:33 +00:00
|
|
|
---
|
|
|
|
title: Config Options for python-flask
|
|
|
|
sidebar_label: python-flask
|
|
|
|
---
|
|
|
|
|
|
|
|
| Option | Description | Values | Default |
|
|
|
|
| ------ | ----------- | ------ | ------- |
|
|
|
|
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|
2019-12-20 09:42:48 +00:00
|
|
|
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|
2019-01-18 09:39:33 +00:00
|
|
|
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|
|
|
|
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|
|
|
|
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|
|
|
|
|packageName|python package name (convention: snake_case).| |openapi_server|
|
|
|
|
|packageVersion|python package version.| |1.0.0|
|
|
|
|
|controllerPackage|controller package| |controllers|
|
|
|
|
|defaultController|default controller| |default_controller|
|
|
|
|
|supportPython2|support python2| |false|
|
|
|
|
|serverPort|TCP port to listen to in app.run| |8080|
|
2019-12-22 06:14:04 +00:00
|
|
|
|useNose|use the nose test framework| |false|
|