forked from loafle/openapi-generator-original
[Wsdl] Adding cli-option for generating different versions of WSDL-files regarding Media type versioning (content negotiation) (#12206)
* add wsdl version generation * add option to use specified operationId * update samples * update cli description
This commit is contained in:
@@ -27,9 +27,9 @@ setup(
|
||||
url="",
|
||||
keywords=["OpenAPI", "OpenAPI Petstore"],
|
||||
install_requires=REQUIRES,
|
||||
packages=find_packages("src/"),
|
||||
package_dir={"": "src/"},
|
||||
package_data={'': ['src//openapi/openapi.yaml']},
|
||||
packages=find_packages("src\"),
|
||||
package_dir={"": "src\"},
|
||||
package_data={'': ['src\/openapi/openapi.yaml']},
|
||||
include_package_data=True,
|
||||
entry_points={
|
||||
'console_scripts': ['openapi_server=openapi_server.__main__:main']},
|
||||
|
||||
@@ -12,7 +12,7 @@ def client(loop, aiohttp_client):
|
||||
"swagger_ui": True
|
||||
}
|
||||
specification_dir = os.path.join(os.path.dirname(__file__), '..',
|
||||
"src/",
|
||||
"src\",
|
||||
'openapi_server',
|
||||
'openapi')
|
||||
app = connexion.AioHttpApp(__name__, specification_dir=specification_dir,
|
||||
|
||||
@@ -8,4 +8,4 @@ deps=-r{toxinidir}/requirements.txt
|
||||
{toxinidir}
|
||||
|
||||
commands=
|
||||
pytest --cov=src/openapi_server
|
||||
pytest --cov=src\openapi_server
|
||||
|
||||
Reference in New Issue
Block a user