Add python generator
This commit is contained in:
parent
bf447f3dd8
commit
a71d45c2ac
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
|||||||
swagger-codegen-cli.jar
|
swagger-codegen-cli.jar
|
||||||
# Generated directory
|
# Generated directory
|
||||||
html
|
html
|
||||||
|
python
|
||||||
|
7
Makefile
7
Makefile
@ -8,5 +8,10 @@ swagger-codegen-cli.jar:
|
|||||||
doc:
|
doc:
|
||||||
mkdir -p html
|
mkdir -p html
|
||||||
java -jar swagger-codegen-cli.jar generate -i openkarotz-openapi.json -l html -o html
|
java -jar swagger-codegen-cli.jar generate -i openkarotz-openapi.json -l html -o html
|
||||||
|
|
||||||
|
python:
|
||||||
|
mkdir -p python
|
||||||
|
java -jar swagger-codegen-cli.jar generate -i openkarotz-openapi.json -l python -o python -c config-python.json
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf doc
|
rm -rf doc python
|
||||||
|
4
config-python.json
Normal file
4
config-python.json
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"packageName": "pyopenkarotz",
|
||||||
|
"projectName": "pyopenkarotz"
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user