Metadata-Version: 2.1
Name: openapi-drf-codegen
Version: 1.0.0
Summary: 
Author: Pavel Anokhin
Author-email: p.a.anokhin@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: black (>=23.3.0,<24.0.0)
Requires-Dist: click (>=8.1.3,<9.0.0)
Requires-Dist: django (>=4.2.2,<5.0.0)
Requires-Dist: djangorestframework (>=3.14.0,<4.0.0)
Requires-Dist: isort (>=5.12.0,<6.0.0)
Requires-Dist: openapi3 (>=1.8.0,<2.0.0)
Description-Content-Type: text/markdown

# OpenAPI DRF Codegen

### CLI application for generating DRF serializers from openapi.yaml files

###  NOTE: This program was mostly written for personal use. You may also find it useful

**Installation**:

```bash
pip install openapi-drf-codegen

# or

poetry add openapi-drf-codegen
```

**Usage**:

```bash
openapi-drf-codegen -i /path/to/openapi/ -p package-name -v 0.0.1
```

A new 'build' directory will be created in your directory where you are. To build a python package for installation, you can do the following:

```bash
cd build/ && poetry build
```

### Important: at the moment, the generator does not provide all possible cases for code generation. Maybe I'll add them in the future if I find them

## Contribution

### If you want to participate in the project and fix some details or add functionality - feel free to contribute

