UNPKG

2.68 kBJSONView Raw
1{
2 "name": "Python",
3 "type": "client",
4 "defaults": {
5 "asyncio": false,
6 "tornado": false,
7 "packageName": "swagger_client",
8 "package": "swagger_client",
9 "baseNamespace": "swagger_client",
10 "generatorPackage": "swagger_client",
11 "invokerPackage": "swagger_client",
12 "importPath": "swagger_client",
13 "apiPackage": "swagger_client.api",
14 "pythonPackageName":"swagger_client",
15 "modelPackage": "swagger_client.model",
16 "clientPackage": "swagger_client.api_client",
17 "modelNaming": "PascalCase",
18 "modelPropertyNaming": "snake_case",
19 "imports": []
20 },
21 "directories": [
22 "swagger_client",
23 "swagger_client/models",
24 "swagger_client/api",
25 "test",
26 "asyncio",
27 "tornado",
28 "docs"
29 ],
30 "partials": {
31 "partial_header": "partial_header.mustache"
32 },
33 "transformations": [
34 { "input": "travis.mustache", "output": ".travis.yml" },
35 { "input": "rest.mustache", "output": "swagger_client/rest.py" },
36 { "input": "setup.mustache", "output": "setup.py" },
37 { "input": "configuration.mustache", "output": "swagger_client/configuration.py" },
38 { "input": "api_client.mustache", "output": "swagger_client/api_client.py" },
39 { "input": "api_test.mustache", "output": "api_test.py" },
40 { "input": "README.mustache", "output": "README.md" },
41 { "input": "requirements.mustache", "output": "requirements.txt" },
42 { "input": "test-requirements.mustache", "output": "test-requirements.txt" },
43 { "input": "tox.mustache", "output": "tox.ini" },
44 { "input": "git_push.sh.mustache", "output": "git_push.sh" },
45 { "input": "gitignore.mustache", "output": ".gitignore" },
46 { "input": "tornado/rest.mustache", "output": "tornado/rest.py" },
47 { "input": "asyncio/rest.mustache", "output": "asyncio/rest.py" },
48 { "input": "__init__api.mustache", "output": "swagger_client/api/__init__.py" },
49 { "input": "__init__test.mustache", "output": "test/__init__.py" },
50 { "input": "__init__model.mustache", "output": "swagger_client/models/__init__.py" },
51 { "input": "__init__package.mustache", "output": "swagger_client/__init__.py" }
52 ],
53 "perApi":[
54 { "input": "api_doc.mustache", "output": "docs/{{name}}Api.md" },
55 { "input": "api.mustache", "output": "swagger_client/api/{{name}}_api.py" }
56 ],
57 "perModel": [
58 { "input": "model.mustache", "output": "swagger_client/models/{{#models}}{{#model}}{{name}}{{/model}}{{/models}}.py" },
59 { "input": "model_test.mustache", "output": "test/test_{{#models}}{{#model}}{{name}}{{/model}}{{/models}}.py" },
60 { "input": "model_doc.mustache", "output": "docs/{{#models}}{{#model}}{{name}}{{/model}}{{/models}}.md" }
61 ]
62}