forked from loafle/openapi-generator-original
Python flask pythonic params (#2374)
* Using connexion `pythonic_params` support while keeping OpenAPI spec file correct with reference to the original spec file. * - Add `camelCase` query parameter which shows the incorrectnes of the conversion of the OpenAPI spec file in Python server implementation(s). * Also use `pythonic_params=True` for the `python-aiohttp` implementation. * - Updated Python related samples. * The unit tests must provide the correct query parameters. * - Updated Python related samples.
This commit is contained in:
committed by
William Cheng
parent
033ab8a6f5
commit
f7943257c5
@@ -12,5 +12,5 @@ class BaseTestCase(TestCase):
|
||||
logging.getLogger('connexion.operation').setLevel('ERROR')
|
||||
app = connexion.App(__name__, specification_dir='../openapi/')
|
||||
app.app.json_encoder = JSONEncoder
|
||||
app.add_api('openapi.yaml')
|
||||
app.add_api('openapi.yaml', pythonic_params=True)
|
||||
return app.app
|
||||
|
||||
Reference in New Issue
Block a user