No project description provided
Project description
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:
pip install openapi-drf-codegen
# or
poetry add openapi-drf-codegen
Usage:
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:
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for openapi_drf_codegen-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 526afb574c27806155023ab4eab779dc8a2b5c3bf8e7856ded2d686c2f726819 |
|
MD5 | 4e0c6bc644ae8734cdf4ce408e66d678 |
|
BLAKE2b-256 | 9ce04867ebbec503f9f41493178aa20d1fe911fcec19ff02d502e4946b10179a |
Close
Hashes for openapi_drf_codegen-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f0fba9de0091f3aa31f14d0672cbd8c98830ab4833edc782570114e026aefd7 |
|
MD5 | 3639a92e430ce95f9c4ea444cce166b5 |
|
BLAKE2b-256 | ba3f763025f43fc56da93f757a45432ed1db709bcf4588e88c97a8b00e98c6ec |