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
openapi_dto-0.1.8.tar.gz
(10.4 kB
view hashes)
Built Distribution
Close
Hashes for openapi_dto-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c196ce23c138ba0ec7cfb4a3f766db62d2e38436e795b2f484062113335dc994 |
|
MD5 | f21a8d45b40db3867425dd47dbef60df |
|
BLAKE2b-256 | c6ad691ae2074fd19c78885613ba920441f473fda2826ca113ed8fe3437eff9e |