forked from loafle/openapi-generator-original
Update README file of python client
This commit is contained in:
parent
746a55be73
commit
18ea21087f
@ -11,13 +11,13 @@ python setup.py install
|
|||||||
Or you can install from Github via pip:
|
Or you can install from Github via pip:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
pip install git+https://github.com/geekerzp/SwaggerPetstore-python.git
|
pip install git+https://github.com/geekerzp/swagger_client.git
|
||||||
```
|
```
|
||||||
|
|
||||||
To use the bindings, import the pacakge:
|
To use the bindings, import the pacakge:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
import SwaggerPetstore
|
import swagger_client
|
||||||
```
|
```
|
||||||
|
|
||||||
## Manual Installation
|
## Manual Installation
|
||||||
@ -25,7 +25,7 @@ If you do not wish to use setuptools, you can download the latest release.
|
|||||||
Then, to use the bindings, import the package:
|
Then, to use the bindings, import the package:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
import path.to.SwaggerPetstore-python.SwaggerPetstore
|
import path.to.swagger_client
|
||||||
```
|
```
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
@ -38,7 +38,7 @@ TODO
|
|||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
|
|
||||||
(Make sure you have installed `virtualenv` using `sudo pip install virtualenv`)
|
(Please make sure you have [virtualenv](http://docs.python-guide.org/en/latest/dev/virtualenvs/) installed)
|
||||||
|
|
||||||
Execute the following command to run the tests in the current Python (v2 or v3) environment:
|
Execute the following command to run the tests in the current Python (v2 or v3) environment:
|
||||||
|
|
||||||
@ -71,4 +71,3 @@ $ make test-all
|
|||||||
py34: commands succeeded
|
py34: commands succeeded
|
||||||
congratulations :)
|
congratulations :)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -11,13 +11,13 @@ python setup.py install
|
|||||||
Or you can install from Github via pip:
|
Or you can install from Github via pip:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
pip install git+https://github.com/geekerzp/SwaggerPetstore-python.git
|
pip install git+https://github.com/geekerzp/swagger_client.git
|
||||||
```
|
```
|
||||||
|
|
||||||
To use the bindings, import the pacakge:
|
To use the bindings, import the pacakge:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
import SwaggerPetstore
|
import swagger_client
|
||||||
```
|
```
|
||||||
|
|
||||||
## Manual Installation
|
## Manual Installation
|
||||||
@ -25,7 +25,7 @@ If you do not wish to use setuptools, you can download the latest release.
|
|||||||
Then, to use the bindings, import the package:
|
Then, to use the bindings, import the package:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
import path.to.SwaggerPetstore-python.SwaggerPetstore
|
import path.to.swagger_client
|
||||||
```
|
```
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
@ -38,7 +38,7 @@ TODO
|
|||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
|
|
||||||
(Make sure you have installed `virtualenv` using `sudo pip install virtualenv`)
|
(Please make sure you have [virtualenv](http://docs.python-guide.org/en/latest/dev/virtualenvs/) installed)
|
||||||
|
|
||||||
Execute the following command to run the tests in the current Python (v2 or v3) environment:
|
Execute the following command to run the tests in the current Python (v2 or v3) environment:
|
||||||
|
|
||||||
@ -71,4 +71,3 @@ $ make test-all
|
|||||||
py34: commands succeeded
|
py34: commands succeeded
|
||||||
congratulations :)
|
congratulations :)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user