mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 02:55:19 +00:00
3959530465
* Switches python generators to use pytest, useNose CLI option added if to allow nose to be used instead * Adds ensure-up-to-date changes * Adds setup.cfg to python clients so we can configure nose when useNose=true * Adds fix for python-aiohttp testing, adds files missing from ensure-up-to-date
20 lines
1.1 KiB
Markdown
20 lines
1.1 KiB
Markdown
---
|
|
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|
|
|
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|
|
|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|
|
|
|useNose|use the nose test framework| |false|
|