A CLI tool for automated DTO generation using OpenAPI schema
Project description
openapi-dto
This small library allows generating Python DTOs from the OpenAPI schema definition. By default, it uses dataclasses, but it's open for extensions and using libraries like pydantic instead.
After installation, it might be called in the following way:
openapi_dto \
--naming-convention=camel \
https://foobar.com/api/schema/
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openapi_dto-0.1.8.tar.gz.
File metadata
- Download URL: openapi_dto-0.1.8.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e9b947d564cc5c3f640874057afa45fb75881a502cf6255f9328d4c7d33fdfb
|
|
| MD5 |
776292801ed983ca02690cfc80e2ed50
|
|
| BLAKE2b-256 |
0acc36d77bfdc58bcf2c600151fd83adcccd14a764dfd3547618ffd95cc0c683
|
File details
Details for the file openapi_dto-0.1.8-py3-none-any.whl.
File metadata
- Download URL: openapi_dto-0.1.8-py3-none-any.whl
- Upload date:
- Size: 12.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c196ce23c138ba0ec7cfb4a3f766db62d2e38436e795b2f484062113335dc994
|
|
| MD5 |
f21a8d45b40db3867425dd47dbef60df
|
|
| BLAKE2b-256 |
c6ad691ae2074fd19c78885613ba920441f473fda2826ca113ed8fe3437eff9e
|