forked from loafle/openapi-generator-original
* python server: Add pythonSrcRoot option This will allow the python project to be in a subdirectory (as specified in pythonSrcRoot). That could mean following the src layout with sources under src/ or lib/. Multi-language projects might use a sub directory like python/, or whatever makes sense for the project. By default, the pythonSrcRoot is "", meaning the existing behavior is the default. * python server: update template files to support pythonSrcRoot * python server: update docs to add pythonSrcRoot option * python server: add pythonSrcRoot sample script * python server: build sample srclayout project * [Python] copy test files preserving history * [Python] Make a conflict to preserve file copy history * [Python] customize pom.xml for src layout tests * [Python] add python-aiohttp-srclayout tests * [Python] Fix server tests by updating requirements Reverts the PR that disabled python2 server tests: https://github.com/OpenAPITools/openapi-generator/pull/4949 Reverts commits that disabled python3 server tests: 9adfedbfbb45c7059e64b3d9a285710bded4fb62 17ee990baaa80585242c7a07d64e2be4888fcfd0 Issue about the python 3 tests: https://github.com/OpenAPITools/openapi-generator/issues/5235 I couldn't find an issue about the python2 tests being disabled. I'm guessing build errors like the following were the trigger: https://travis-ci.org/github/OpenAPITools/openapi-generator/builds/634238181 Let's see what breaks! * [Python] Copy setup.py to python-aiohttp * [Python] Save history while copying setup.py to python-aiohttp * [Python] Add aiohttp server setup.py * [Python] Fix python server tests with src layout * [Python] bump Flask-Testing version * [Python] Pin pyyaml for py2.7 flask server * [Python] simplify flask server requirements * consolidate server tests * [Python] rebuild python server samples * [Python] Fix python server requirements for older pythons Documented minimum python version for our aiohttp server is 3.5. Documented minimum python version for our flask server is 3.4. Connexion 2.3 is the last version to support python 3.4 and 3.5, so fix the version pinning to correctly select <=2.3 for these EOL python versions. Newer pythons should get the latest if possible as there many relevant bug fixes. Werkzeug also needs to be pinned for these old versions in the aiohttp server just like for the flask server. 3.4 and 3.5 are EOL. We really should increase the minimum supported version, but that is for another PR to do.
24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
# OpenAPI Generator Ignore
|
|
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
|
|
|
|
# Use this file to prevent files from being overwritten by the generator.
|
|
# The patterns follow closely to .gitignore or .dockerignore.
|
|
|
|
# As an example, the C# client generator defines ApiClient.cs.
|
|
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
|
|
#ApiClient.cs
|
|
|
|
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
|
#foo/*/qux
|
|
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
|
|
|
|
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
|
|
#foo/**/qux
|
|
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
|
|
|
|
# You can also negate patterns with an exclamation (!).
|
|
# For example, you can ignore all files in a docs folder with the file extension .md:
|
|
#docs/*.md
|
|
# Then explicitly reverse the ignore rule for a single file:
|
|
#!docs/README.md
|