Skip to content

Commit e80f75f

Browse files
authored
Merge to master (#12)
* Complete writing README.md * Update gitignore * Correct URL of project
1 parent eea6a3e commit e80f75f

File tree

4 files changed

+25
-1
lines changed

4 files changed

+25
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,6 @@ venv.bak/
103103
# mypy
104104
.mypy_cache/
105105

106+
#Pipenv generated
107+
Pipfile
108+
Pipfile.lock

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
11
# hydra-openapi-parser
2+
This library contains the OpenAPI parser implemntaion in Python to be used with hydrus and python-hydra-agent.
3+
4+
Currently the library consists of openapi_parser module which helps hydrus parse OpenAPI standard docs.
5+
6+
To install the library:
7+
8+
```
9+
pip install git+https://github.com/HTTP-APIs/hydra-openapi-parser.git#egg=hydra_openapi_parser
10+
```
11+
12+
Note :- If using hydrus, the library doesn't need to be installed separately as it is already a part of requirements.txt for hydrus.
13+
Usage
14+
15+
To import the modules:
16+
17+
```python3
18+
from hydra_openapi_parser import openapi_parser
19+
```
20+
21+
Porting out from hydrus the hydraspecs directory

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
PyYAML==4.2b1
12
-e git+https://github.com/HTTP-APIs/hydra-python-core#egg=hydra_python_core

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
description='A Parser from OpenAPI to Hydra specs',
99
long_description=open('README.md').read(),
1010
long_description_content_type="text/markdown",
11-
url='https://github.com/HTTP-APIs/hydra_openapi_parser',
11+
url='https://github.com/HTTP-APIs/hydra-openapi-parser',
1212
zip_safe=False
1313
)

0 commit comments

Comments
 (0)